Assignment #1


Write a complete C++ program that prints out:

  1. A welcome message to your program.
  2. A BLANK LINE
  3. Name: Your first name followed by your last name, on one line.
  4. Major: On another line, list your major.
  5. Favorite TV Shows: On yet another line your favorite TV shows.

Put a comment at the top of your source code containing your name and the assignment number. Compile the program and, if it does not compile, correct all errors. Run the program and make sure the output is correct. Note that the comment does not appear in the output.

Please hand in:
  1. Your .cpp file on a floppy disk or CD (if you know about CD burning, you might want to make it so that you can reuse the CD for other assignments).
  2. A print out of the program listing (source code).
  3. A print out of the output from the program. Refer to this training video on printing out the output.

Place everything inside of an envelope.