Menu
×
×
Correct!
Exercise:Use the correct function to read a line of text which is put in by the user.
string fullName;
cout << "Type your full name: ";
@(7) (cin, fullName);
cout << "Your name is: " << fullName;
string fullName;
cout << "Type your full name: ";
getline (cin, fullName);
cout << "Your name is: " << fullName;
Not CorrectClick here to try again. Correct!Next ❯ |
This will reset the score of ALL 58 exercises.
Are you sure you want to continue?