Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

A sales company wants to have a program to keep track of their employees\' pays

ID: 3530972 • Letter: A

Question

A sales company wants to have a program to keep track of their employees' pays per each quarter. There are two types of employees: Managers and SalesReps. Come up with classes declarations in which one class is an abstract class, and other classes are derived from the abstract class. The classes will be used for a polymorphic application. The derived classes should have at least two public member functions. You are not required to implement any member functions. Explain under each function prototype on what the function will do. Submit the following items: -Abstract class declaration -first derived class declaration (without its implementation) -second derived class declaration (without its implementation) - more derived class ( if any) - main( ) that contains declarations of objects and use the objects to call their member functions.

Explanation / Answer

Acknowledgements: These notes are based on sections 10.2, 10.4, 10.5, and 11.3 - 11.5 of the textbook, and on lecture notes by Jon Rossie and Brad Mott.

Output:siht si a tset

Statement: Explained in: int a::b(int c) { } Classes a->b Data Structures class a: public b { }; Friendship and inheritance
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote