CISC 1110
Professor Y. Langsam
Homework 0
Due: ________________
Type the following program exactly as
is written. Compile and execute it. Turn in both the source code and the
resulting output.
/*
Name: Homework 0
Author: your name goes here
Date: 2006-10-29-13.04
Description: This is my first
program and is to be handed in
*/
#include <iostream>
using namespace std;
int main()
{
string
first, last;
cout << "Please
enter your first and last name." << endl;
cout << "Do not
forget to press the ENTER key!" << endl;
cin >>
first >> last;
cout << "\nThis is my first program!" << endl;
cout << "My name
is: " << first
<< " " << last << endl;
system
("PAUSE");
return
0;
} // end main