(Solved):C++ assignment 1. Employee and ProductionWorker ClassesDesign a class named Employee. The class should keep the following information in Employee name Employee number Hire date (A class called ‘d… View Answer…

 

Question

C++ assignment

1. Employee and ProductionWorker ClassesDesign a class named Employee.

The class should keep the following information in Employee name Employee number Hire date (A class called ‘date’)

Write one or more constructors and the appropriate accessor and mutator functions for the class.

Next, write a class named ProductionWorker that is derived from the Employee class. The ProductionWorker class should have member variables to hold the following information:

Shift (an integer)

Hourly pay rate (a

Scroll to top