Answer to Question #342594 in C++ for tine

Question #342594

 Write a program that asks the user for their name and greets them with their name. (Example “Hello Jade”)


1
Expert's answer
2022-05-18T15:27:15-0400


#include <iostream>
#include <iomanip>
using namespace std;


//Socket WWW in C+
int main()
{
  string name;
  cin>>name;
  cout<<"Hello "<<name<<endl;
  return 0; 
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS