A.Employee and ProductionWorker Classes
Design a class named Employee. The class should keep the following information in
• Employee name
• Employee number
• Hire date
Write one or more constructors and the appropriate set and get 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 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 set and get functions for the class. Demonstrate the classes by writing a program that uses a ProductionWorker object.

Re: #include <iostream> #include <string> #include <iomanip> using namespace st 80 80

plz solve

Re: #include <iostream> #include <string> #include <iomanip> using namespace st 80 80

Why should we do your homework for you?

It’s fine if you need help, but we won’t just do it for you. Please show us the code you have so far and where you’re stuck or what errors you’re getting.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.