This is a store inventory system that can store and process your store's inventory data.
The program can:
-
Determine and print total revenue from all sold items
-
Determine and print total wholesale cost for all items
-
Determine and print the current investment in items
-
Determine and print total profit for all items
-
Determine and print total number of sales
-
Determine and print average profit per sale
-
Print items in stock
-
Print items out of stock
-
Add / delete an item
-
Save current inventory to a file on disk
The program takes two parameters, first being existing inventory data file with data to be read in, and second being the name of a data file that the program will create with output (updated) inventory.