This preview shows page 1. Sign up to view the full content.
Unformatted text preview: 1. Compile and run the Hello, world! program ( task1.cpp ) 2. Write a program that, when run, writes to the console This (") is a quote, and this (\) is a backslash. ( task2.cpp ). 3. Write a program that, when run, writes the Hello, world! program as its output ( task3.cpp ). 4. Rewrite the Hello, world! program so that a newline occurs everywhere that whitespace is allowed in the program ( task4.cpp ). All of the programs have to be compilable and, when run, should do the expected things. Each task is worth 25% of the overall grade for this homework....
View Full Document
- Fall '08
- Computer Science