/* Author Name: Baljeet S. Malhotra */
/* Student ID:  XXXXXXXXXXX         */ 
/* Program Name: String-example.cpp */
/* Program Description: Example     */
/* Date of creation: 14th Oct. 2004 */
/* Lab section: XX                  */

#include <iostream>
#include <string>

using namespace std;

int main()
{

 string S1;
 string S2; 
 cout << "Enter your first name : ";
 cin >> S1;
 cout << "Enter your last name : ";
 cin >> S2;

 cout << "Hello " << S1 + S2 << endl;
 cout << "Hello " << S1 << " " << S2 << endl; 
 return 0;
}
