Question: Write code in C++ We must create a Wallet 3 by using function outside the main function. Define a class called Wallet that represents number

Define a class called Wallet that represents number of quarters, number of dimes, number of nickels, and number of pennies. You should write a main function. class Wallet \{ private: int quarters; // number of quarters int dimes; // number of dines int nickels; // number of nickels int cents; // number of cents public: // complete the class with constructors and member functions \}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
