/* CH7A.C */ /* To produce a list of units consumed and associated charges */ #include main () { /* Description ...... Prepare input file and read first units consumed Display column headings WHILE not at the end marker IF number of units greater than 60 Calculate charge when units at both rates ELSE Calculate charge, units at high rate only Display units and charge Read next units consumed Close input file */ /* High and low rates as constants */ /* Variables as required */ } }