Assignment #1
Write a complete C++ program that prints out:
- A welcome message to your program.
- A BLANK LINE
- Name: Your first
name followed by your last name, on
one line.
- Major: On another line,
list your
major.
- 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:
- 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).
- A print out of the program listing (source code).
- 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.