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. Note that a manager has a fixed monthly income of $3,500 but a sales representative has a base salary of $2,000 plus a 5% commission rate of the sales amount.
Come up with class 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. Submit the following items:
-Abstract class declaration.
-first derived class declaration.
-second derived class declaration
- main( ) that contains declarations of objects and use objects to call their member functions.
Need just the cpp file!
13 freelancer chào giá trung bình$25 cho công việc này
I am software engineer.I have read the description and i would like to work for you.I can complete your task in [login to view URL] further details please inbox me. Thank you.
hello, place your confidence in my C++/OOP knowledge and experience. this polymorphic example is fairly common in literature, i'll write it from a scratch for you. greets, srdjan