Best writers. Best papers. Let professionals take care of your academic papers

Order a similar paper and get 15% discount on your first order with us
Use the following coupon "FIRST15"
ORDER NOW

Scenario/SummaryWe have two separate goals this week:1

Please help me with the attached assignment.

This required to be done in C++.

Scenario/SummaryWe have two separate goals this week:1. We are going to create an abstract Employee class and two pure virtual functions – calculatePay() anddisplayEmployee(). The abstract Employee class will prevent a programmer from creating an objectbased on Employee, however, a pointer can still be created. Objects based on Salaried and Hourly willbe allowed. The pure virtual function calculatePay() in Employee will force the child classes toimplement calculatePay(). The other pure virtual function displayEmployee() in Employee will force thechild classes to implement displayEmployee().2. We are going to implement Polymorphism and dynamic binding in this iLab.STEP 1: Understand the UML DiagramNotice in the updated UML diagram that the Employee class is designated asabstractby having the classnameEmployeeitalicized. Also, thecalculatePaymethod is italicized, which means that it is a pure virtualfunction and needs to be implemented in the derived classes. In addition, make displayEmployee() method apure virtual function as well.
Background image of page 1
 
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"