The objective of the lab is to take the UML Class diagram and enhance last week’s
this zip states the question
programmin C++
The objective of the lab is to take the UML Class diagram and enhance last week’s Employee class by making the following changes:
Create a class called Salaried that is derived from Employee.
Create a class called Hourly that is also derived from Employee.
Override the base class calculatePay() method.
Override the displayEmployee() method.
Create a new project and name it CIS247C_WK5_Lab_LASTNAME. Copy all the source files from the Week 4 project into the Week 5 project.
Using the updated Employee class diagram, modify the attributes to be protected.
Using the UML Diagrams from Step 1, create the Salaried classes, ensuring to specify that the Salary class inherits from the Employee class. Using the UML Diagrams from Step 1, create the Hourly classes, ensuring to specify that the Hourly class inherits from the Employee class.