string firstName; //unlike array, no need to mention the size of the sting
cout << "Type your first name: ";
cin >>
firstName; //this is important
// get user input from the keyboard
cout << "Your name is: " <<
firstName;
// Type your first name: John
// Your name is: John