Assume that name has been declared suitably for storing names (like "Misha", "Emily" and "Sofia") Write some code that reads a value into name then prints the message "Greetings, NAME" where NAME is replaced the value that was read into name.

Respuesta :

// i am writing c++ code for the given problem...

// taking input

cout<< " Enter the name : ;

cin>>name;

// printing the message

cout << " Greetings, " << name << endl;