what is the best way to achieve the following;
cout << "\nEnter Customer's LAST Name : ";
cin >> lName;
cout << "\nEnter Customer's FIRST Name : ";
cin >> fName;
If user inputs the following
Last Name: Browne
First name: Jack
I need name to output the following
name: Browne, Jack.
How do I add to two together and include the comma.