Write two programs which will work with a structure

profileThehonest
 (Not rated)
 (Not rated)
Chat

Write two programs which will work with a structure. a) The first program will use a structure to store the following inventory data in a file: Item Description Quantity on Hand Wholesale Cost Retail Cost Date Added to Inventory The program will write five records to an output file for different items; the quantity, costs, and date for each item will be different from the other items.

The second program will read the file created by the first program using the same structure. The second program will calculate and display the following information:


total wholesale value of the inventory

total retail value of the inventory

total quantity of all items in the inventory




 

 

    • 10 years ago
    A+ Work
    NOT RATED

    Purchase the answer to view it

    blurred-text
    • attachment
      program_2.zip