1//getline allows for multi word input including spaces ex. "Jim Barens"
2#include <iostream>
3#include <string>
4
5int main()
6{
7 string namePerson{}; // creating string
8 getline(cin, namePerson);// using getline for user input
9 std::cout << namePerson; // output string namePerson
10}