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
Get step-by-step solutions from verified subject matter experts
