Write an employee payroll program that uses polymorphism to calculate and print the weekly payroll for your company.
There are three types of employees - hourly, salaried, and salaried plus commission. Each type of employee gets paid using a different formula.
But for all employee types, if the calculated paycheck exceeds $1000, the actual paycheck must be decreased to $1000.
Attachment:- Directions.doc