Checkpoint 8.11.1.
getline
only takes the first word of input whilecin
reads the entire line until the user hits Return or Enter.- Try again!
cin
only takes the first word of input whilegetline
reads the entire line until the user hits Return or Enter.- Correct!
cin
only takes the first two words of input whilegetline
reads the entire line until there is a space.- Try again!