Electrical and Computer Engineering
22 of 30
UAH
CPE 112
Case Study: Implementation
•   while (store1 && store2)         // While not EOF...
•    {
•        cout << endl;
•        PrintData(deptID1, 1, sales1);  // Process
•                                        // Store 1
•        PrintData(deptID2, 2, sales2);  // Process
•                                        // Store 2
•        GetData(store1, deptID1, sales1);
•        GetData(store2, deptID2, sales2);
•    }
•    return 0;
•}
•
•