Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed C++ is the language and data is in excel

image text in transcribed

image text in transcribed

image text in transcribed

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 you

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Finance The Role Of Data Analytics In Manda Due Diligence

Authors: Ps Publishing

1st Edition

B0CR6SKTQG, 979-8873324675

More Books

Students also viewed these Databases questions

Question

12.3 Explanatory Power of a Multiple Regression Equation

Answered: 1 week ago

Question

3. Outline the four major approaches to informative speeches

Answered: 1 week ago

Question

4. Employ strategies to make your audience hungry for information

Answered: 1 week ago