How do I put a space between each string?
cout << "Print out your first name?" << endl;
cin >> firstName;
cout << "Print out your last name?" << endl;
cin >> lastName;
cout << firstName + lastName;
It prints out "firstNamelastName" instead of "firstName lastName"
cout << firstName << ' ' << lastName;
Single quotes denote a single character. So this prints a single space between
the first and last names.