Question: C++ -- Create a class Shop . A Shop should have a name, an array of product objects, and a number of how many different

C++ -- Create a class Shop. A Shop should have a name, an array of product objects, and a number of how many different items are on sale. A shop should have functions for displaying its products, for setting what products it has, a function for selling x number of a product, and a function for restocking x number of a product. Assume a shop can have no more than 5 different product types.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!