No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
7. Given the class definition [code=cplusplus] class A { public: //constructors // other members private: int x; int y; }; [/code] Give declarations of operator functions for each of the following ways to overload operator+ you must state where the declaration goes, whether within the class in the public or … | |
You will need to author two classes – Customer and Pensioner. Pensioner should be a subclass of Customer. These classes should be in their own files with separate header files. Details are below. Create a third class called Manager. The manager file can contain the main function. The Manager class … |