Question: Inventory Management System objective: Work with multiple objects and review reading data files. Description: A wholesale distributor has six warehouses (Atlanta, Baltimore, Chicago, Denver, Ely

 Inventory Management System objective: Work with multiple objects and review reading

data files. Description: A wholesale distributor has six warehouses (Atlanta, Baltimore, Chicago,

Denver, Ely and Fargo) and sells five different items (identified by part

Inventory Management System objective: Work with multiple objects and review reading data files. Description: A wholesale distributor has six warehouses (Atlanta, Baltimore, Chicago, Denver, Ely and Fargo) and sells five different items (identified by part number: 102, 215, 410, 525 and 711). Each warehouse may stock any or all of the five items. The company buys and sells these items constantly. Company transaction records contain a transaction code (P" for a purchase or 'S' for a sale) followed by an item number and the quantity (bought or sold). The transaction records are contained in a transaction data file named Transactions.txt. Sample transaction records Transactions.txt P 410 1000 S 215 120 S 711 300 A separate data file contains the initial status of the six warehouses at the beginning of the day (i.e., the ending status from the night before). This data file has only six records (lines). Each record (line) contains five numbers that show the quantity on hand for the five items in that warehouse. This file is named inventory.txt. Sample status data file: Inventory.txt 500 120 60 0 350 100 230 0 500 0 75 00 220 600 50 120 300 40 210 160 30 80 500 90 50 90 200 70 The status data file is updated by processing the transaction records in the transaction data file according to these rules

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!