Assume that name has been declared suitably for storing names (like "Amy" , "Fritz" and "Moustafa") 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. For example, if your code read in "Hassan" it would print out "Greetings, Hassan! ! !". **PLEASE IGNORE THE SPACES BETWEEN THE EXCLAMATION MARKS( ! ! ! )**
.
.
Click on the title for the solution
.
.
cin>>name;
cout<<"Greetings, "<<name<<"!!!";
.
Click on the title for the solution
.
.
This is the answer:
:
cin>>name;
cout<<"Greetings, "<<name<<"!!!";
Comments
Post a Comment