CS 1401 Assignment #3

Date Assigned: Monday, February 5 or Tuesday, February 6, 2007.

Due Date: Monday, February 12, or Tuesday, February 13, 2007, before the beginning of your lab section.

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

Programming assignment: similar to Programming Assignment 2.

Reminder: To protect CS students against snow and cold, the department is thinking of buying warm jackets so that students can keep warm when walking on campus. Jackets come in different size, depending on the student's height. Help the department estimate the cost of these jackets. The cost of a jacket is proportional to the square of the student's height in meters, with a cost of $10 per square meter. Your program should estimate a cost of a jacket for a student. Specifically, your program should:

New features:

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

Deliverables: as instructed by your TA.