Homework 9.5

Task: The task for this program is to do problem 6.1 on page 301 in the book. However, you are not required to just write the program. What I want you to do is generate your functional decomposition, and then interleave your program into your FD. So, your program should be structured:

Step in your FD

Line or two of code corresponding to that step

Next step in FD

Line or two of code

Etc.

Purpose: To practice integrating all of the many skills you have learned thus far. Also, to really hone in on using functional decompositions to aid in actually writing the code for your programs.