Best writers. Best papers. Let professionals take care of your academic papers

Order a similar paper and get 15% discount on your first order with us
Use the following coupon "FIRST15"
ORDER NOW

Hi i needed help with making a program in c++ . The document will have more details

Hi i needed help with making a program in c++ . The document will have more details and i also have the output of

what the program should do when you put in the input.

Write a windows console application that holds data about an item in a retail store.Your class should be named RetailItem and should hold data about an item in a retail store. The class will havethe following member variables.description—string holding the description of the itemunitsOnHand—int that holds the number of units in inventoryprice—double that holds the price of the itemYou will need two constructors, one that will accept arguments for eachmember variable and one that willassign default values. You will also need to write mutator functions and accessor functions. Once you write theclass, write a separate program that creates three RetailItem objects. The first one should use the defaultvalues, and the other two should have values assigned upon creation. The user should input the variables(testing for the units on hand and price greater than 0).Then the program should display all three RetailItems. Finally, the program should tally the inventory for all threeitems and display it.Welcome to the Retail store!Price must be greater than 0.Please enter the price for item 1: 33.Inventory must be greater than 0.Please enter the units on hand for item 1: 10.Please enter the description for item 1: shirt.Display all itemsDescription: shirtUnits on hand: 10Price: $33.00Description: JeansUnits on hand: 40Price: $34.95Description: Long sleeve shirtUnits on hand: 20Price: $24.95Display the total inventory.The total inventory is 70.Press any key to continue.
 
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"