please i need it with c++
Retail Class Program
Write a class called RetailItem that holds data about an item in
a retail store. The class should have the following member
variables:
Description ~ A string that holds a brief description of the
item
unitsOnHand ~ an integer that holds the number of units
currently in inventory
price ~ a double that holds an items retail price
reorderQuantity ~ in integer that holds the lowest quantity of
units before the store has to order more.
The class should have the following public member functions:
Default constructor Non-default constructor
Mutator Functions
Accessor Functions
Initializes all values to either “ “ or zero.
Accepts all values as arguments and initializes those values
Appropriate mutator functions that store values in these member
variables
Appropriate accessor functions that return values in these
member variables
Create a program that contains a menu to allow the user to do
the following:
1) Add an item to inventory
2) Display all items in inventory
3) Check to see if an item is in inventory.
4) Display only those items that need to be re-ordered 5) Update an
item in inventory
Use an array of up to a constant value of 20 inventory items in
main(). Do not allow the user to enter in more than the constant
value. You must use const.
please i need it with c++ Retail Class Program Write a class called RetailItem that holds data about an item in a retail
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am