CS 1401 Assignment #3

Date Assigned:Monday, September 11, or Tuesday, September 12, 2006.

Due Date: Monday, September 18, or Tuesday, September 19, 2006, before the beginning of your lab section.

Objective: The main objective of this assignment is to practice using input, output with files.

Programming assignment: Ex. 6, pp. 165-166 of the book.

For extra credit: modify your program so that instead of asking the user for the employee's name and the gross amount, it asks the user for the name of the file where this information is stored (the name is stored in the first line, and the gross amount is stored in the second line).

Your program should then read this information from the file and generate the output as in Ex. 6.

Homework assignment: on a separate sheet of paper, solve Ex. 10 and Ex. 12, p. 162.

Deliverables: as instructed by your TA.