// i am writing c++ code for the given problem...
// taking input
cout<< " Enter the name : ;
cin>>name;
// printing the message
cout << " Greetings, " << name << endl;
9.4m questions
12.2m answers