//========================================================================= #define PROGRAMMER "SOLUTIONS, Nofrills" #define PROG_CODE "soln" #define COURSE "ECE-1021" #define YEAR (2004) #define TERM "Spring" #define SECTION (0) #define ASSIGNMENT "HW5B" #define REVISION (0) #define TITLE "How much did that REALLY cost? (molularized)" #define SUBTITLE "Last modified on 11 MAR 04" #define EMAIL "ece1021@eas.uccs.edu" #define FILENAME "05b0soln.txt" //========================================================================= //========================================================================= // PROBLEM //========================================================================= // Take the solution for HW#5A and modularize it. //========================================================================= // PSEUDOCODE //========================================================================= // Instead of beginning with a new top-down development, the existing code // will be modularized by looking for low-level tasks that can be turned // into function calls. The end result is expected to follow the hierarchy // of the pseudocode for HW#5A fairly closely.