Question: In c++ please with separate file implementations. thank you. . . Solve the programming Challenge 3, Team Leader class, Page# 981. Hire_date member variable must

In c++ please with separate file implementations. thank you.

In c++ please with separate file implementations. thank you. . . Solvethe programming Challenge 3, Team Leader class, Page# 981. Hire_date member variablemust be of Date type. Add Date class in your project. This

. . Solve the programming Challenge 3, Team Leader class, Page# 981. Hire_date member variable must be of Date type. Add Date class in your project. This class should at least contain: (a) three member variables namely month, day and year (b) a member function getDate(). This should return date as Month_Name Day, Year (c) add accessor and mutator functions, if necessary (d) add one or more constructors Demonstrate the class by writing a program that uses Team Leader object. Driver program should use overloaded stream insertion/extraction operators for input and output operations. Input validation is required in this project. TeamLeader Class In a particular factory, a team leader is an hourly paid production worker who leads a small team. In addition to hourly pay, team leaders earn a fixed monthly bonus. Team leaders are required to attend a minimum number of hours of training per year. Design a TeamLeader class that extends the ProductionWorker class you designed in Programming Challenge 1 (Employee and Production Worker Classes). The TeamLeader class should have member variables for the monthly bonus amount, the required number of training hours, and the number of training hours that the team leader has attended. Write one or more constructors and the appropriate accessor and mutator functions for the class. Demonstrate the class by writing a program that uses a TeamLeader object. Employee and ProductionWorker Classes Design a class named Employee. The class should keep the following information: Employee name Employee number Hire date Write one or more constructors, and the appropriate accessor and mutator functions, for the class. Inheritance, Polymorphism, and Virtual Functions 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 double) The workday is divided into two shifts: day and night. The shift variable will hold an integer value representing the shift that the employee works. The day shift is shift 1, and the night shift is shift 2. Write one or more constructors, and the appropriate acces- sor and mutator functions, for the class. Demonstrate the classes by writing a program that uses a ProductionWorker object

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!