Solution to Programming Assignment 4

Solution to Programming Assignment 4
Organized into Multiple Files,
Including Function Pre- and Postconditions
and Sample Test Driver Functions


As with the array-based solution to program 4, this multi-file solution is not the one we expected anyone to turn in. This solution is provided to illustrate the decomposition of a program into multiple files, including separate test driver files. The concepts of program design and testing illustrated in this example are discussed in the week 8 lecture notes.

The program is comprised of the following files:



index | lectures | labs | handouts | assignments | solutions | grades | help