A company has two different kinds of employees professional


Problem

A company has two different kinds of employees: professional and nonprofessional. Generally, professional employees have a monthly salary, whereas nonprofessional employees are paid an hourly rate. Similarly, professional employees have a certain number of days of vacation, whereas nonprofessional employees receive vacation hours based on the number of hours they have worked. The amount contributed for health insurance is also different for each kind of employee. Use an abstract class Employee to store information common to all employees and to declare member functions for calculating weekly salary and computing health care contributions and vacation days earned that week. Define derived classes Professional and Non_Professional. Test your class hierarchy.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: A company has two different kinds of employees professional
Reference No:- TGS02652922

Expected delivery within 24 Hours