Electrical and Computer Engineering
17 of 30
UAH
CPE 112
Main
•Open data files for input
•IF either file could not be opened
•   Terminate program
•Print heading
•Get data for a Store 1 department
•Get data for a Store 2 department
•WHILE NOT EOF on file store1 AND NOT EOF on file store2
•   Print data for the Store 1 department
•   Print data for the Store 2 department
•   Get data for a Store 1 department
•   Get data for a Store 2 department