Question: write a C program on this Create an Inventory Control Program, called ICP.exe. This program will provide the user with a menu of actions to
write a C program on this Create an Inventory Control Program, called ICP.exe. This program will provide the user with a menu of actions to control inventory, which include: list the inventory, create an item, add inventory, remove inventory, delete item, import and export database. An inventory item has a: Unique ID, Part NO, Names, Quantity, and Sale Price, and Unit Price. Load a database with the following items: 1. SNK809a Seiko Automatic Men's Watch, 10, $75, $70. 2. SR400 Yamaha 400cc Motorcycle, 3, $5,999, $4,000. 3. Soundlink-Coral Bose Bluetooth Speaker in Coral Red, 20, $129, $89. Demonstrate loading/creating a database of inventory, creating new items, adding to inventory, removing from inventory, and saving the database. Capture your output with the snipping tool. A menu might look like the following, but the student is free to create a different interface, if it is more intuitive. c:\users\dbs0011\icp.exe Welcome to the Inventory Control Program! select from the following (L)ist, (C)reate, (A)dd, (R)emove, (I)mport, or (E)xport:> I enter the DB name to import:> first.db first.db imported. select from the following (L)ist, (C)reate, (A)dd, (R)emove, (I)mport, or (E)xport:> I Build the Import and Export functions last as we will not cover files until right before the end of this project. Use dynamic memory allocation for your records. Each interface option should be a separate function. Use structures to define your inventory items. Use separate C files to encapsulate your user interface, data storage and test functions.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
