Write class named macys that holds data about an item


Problem

Write class named Macys that holds data about an item in a retail store. The class should have the following member variable:

1) description - that holds a brief description of the item
2) unitsOnHand - that holds the number of units currently in inventory
3) price - that holds the item's retail price

Write constructor that accepts arguments for each memeber variable, appropriate mutator functions that store values in these member variables, and accessor functions that return the values in these member variables. Once you have written the class, write separate program that creates three Macys objects and stores the following date in them:

              Description.      Units on Hand.         Price
Item #1   Jacket.                   12.                   129.99
Item#2   Designer Coat.        40.                   295.95
Item#3   Shorts                     20.                   75.00

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Write class named macys that holds data about an item
Reference No:- TGS03275792

Expected delivery within 24 Hours