Question: 2. Given the following classes declaration: #include using namespace std; 4 class x { private: float price; int unit;/umber of unit sold protected: float totalPrice;

2. Given the following classes declaration: #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
