the retailItem class stores the data about a product sold by the store. It has an item description, item number and the retail price
The retailitem class should include:
1-parameterized constructor which accepts the value
2-appropriate accessor methods only, getting the values of retailitem(not using mutator/set methods
class retailitem
{
private:
double RP // variable for retail price
string PD // variable for product description
string num1 // variable for item
public:
string getdescription() const;
string getItem () const;
double getRetailprice ();
}
Question?
if i cant set for the item how am i going to prompt the user to put in the information?