Create a C++ class named Money containing two private integer data members named dollars and cents. Include member funct
Posted: Tue May 24, 2022 7:44 am
Create a C++ class named Money containing two private integer data members named dollars and cents. Include member functions to input and display the private data members. Write two friend functions as stated below. i) To return the maximum of two "money" objects passed to it. ii) To return the clone (duplicate) of the object passed to it. Write a C++ program to test the functionality of the above friend functions.