This is A C++ PROGRAM BTW!! Define a class named Money that stores a monetary amount. The class should have two private integer variables , one to store the number of dollars and another to store the number of cents. Add accessor and mutator functions to read and set both member variables . Add another function that returns the monetary amount as a double .
In main(), test the implementation of your class with two different Money objects . Ask the user to enter values for dollars and cents and then display the value as a double .

Answer :

Jasminee accoo i'm very disappointed in you, this was a assignment that you were to do. Can you explain yourself?

Other Questions