Answered step by step
Verified Expert Solution
Question
1 Approved Answer
C++ is the language and data is in excel Inventory system: Develop an Product base class to keep track of the products. You need to
C++ is the language and data is in excel
Inventory system: Develop an Product base class to keep track of the products. You need to keep track of the following information in the class: . Item number .Name Cost o Your class needs to have methods that perform the following actions: .A default constructor A constructor to initialize the item when you read them in from the file .A destructor . Get the Item Number .Get the Name -Get the Cost Get the Qty . Set the Qty .Set the Cost Develop an Inventory class that is derived from the Product class. o Your Inventory class should create a dynamic array of objects (products). You will read in from the text file all the products and store them in the array o Your Inventory class should have the following functionality Be able to add new products Update product information Oty and Cost. Delete products When you program starts you will ask if you are a customer or admin. If they select Admin then you allow them to use the Admin interface. If they select customer they must use the shopper interface. You can have them type an "A" or "C" to select the appropriate interface. Develop a Admin user interface: . Admin interface: o Allow the admin to add products to the inventory o Allow the admin to update qty of products on hand o Allow the admin to change the price of products o Allow the admin to delete products When the admin is done then the program should write the new inventory information back to the inventory.csv file Do not exit the program go back to the prompt to ask if youStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started