Question: Write the inventory control system with the following features: 1. The program uses an array of 10 structures. Each structure should hold the name of
Write the inventory control system with the following features: 1. The program uses an array of 10 structures. Each structure should hold the name of the item, the item identification number, the cost of the item, the number of items in stock, the total profit for the item and the total profit for all items. 2. The program must display the following heading and menu. You must use a do while loop and a switch case. The selection must NOT be case sensitive. Each selection should call a different function. Inventory Control System To choose a function, enter its letter label: a) Show the name, identification number and number of each item in stock, including the cost of each item and total value of each item in stock. b) Allowtheownertoenterthesaleofanitem c) Show the number of units sold, the profit for each item and the total store profit d) Allowtheownertoordermoreofanexistingitem e) Allow the owner to order new items f) Quit 3. Assume that the selling price is 50% greater than the latest purchase cost of an item. 4. The program must successfully execute the premise of the menu. Choices b) d) and e) require additional input.. 5. Data must be saved to a file. When the program is restarted, it must first load the last status of items in stock, their cost and profit. 6. No global variables allowed. 7. For each item you must keep track of the items name and Id number, latest purchase price, number of items in stock, number of items sold, total profit from sales. You must include a Programmers block and an explanation function in your code.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
