IGYTSALE: nested program application
Application IGYTSALE tracks product sales and sales commissions for a sporting-goods distributor.
This nested program application does the following tasks:
- Keeps a record of the product line, customers, and number of salespeople. This data is stored in a file called IGYTABLE.
- Maintains a file that records valid transactions and transaction errors. All transactions that are not valid are flagged, and the results are printed in a report. Transactions to be processed are in a file called IGYTRANA.
- Processes transactions and report sales by location.
- Records an individual's sales performance and commission, and prints the results in a report.
- Reports the sale and shipment dates in local time and UTC (Universal Time Coordinate), and calculates the response time.
The following diagram shows the parts of the application as a hierarchy:
The following diagram shows how the parts are nested: