COP 1510 Programming Concepts I

 

Assignment 4

 

 

 

 

Name________________________________________

 

Section_______________________________________

 

Date__________________________________________

 

 

 

 

1.         Review Questions 1—28, pp. 152-155

 

2.         Problem 3, p. 161 (Test Average)

 

3.         Problem 7, p. 162 (Centigrade to Fahrenheit)  Test with several input values.

 

4.         Problem 11, p, 163 (Math Tutor)

 

5.         Problem 12, p.163 (Interest)

            Two versions of this program are required:  The first with keyboard input and console output, the second with keyboard input and file output..

 

6.         Problem 13, p. 163 (Monthly Payment)

            Two versions of this program are required: the first with keyboard input and console output; the second with file input and console output.

 

7.                  Problem 15, p. 164 (Angle Calculator)

 

8.         Problem 16, p. 164 (Creating and processing a file)

 

For all programming problems, follow the directions for comments on p. 160.  Submit a printout of the program and proof of testing as described in class.

 

Attach this cover sheet to your work.