Answers for "input a string in c++"

C++
17

input a string in c++

string fullName;
cout << "Type your full name: ";
getline (cin, fullName);
cout << "Your name is: " << fullName;
Posted by: Guest on May-04-2020

Browse Popular Code Answers by Language