Then modify the versions of PrintCheck in the derived classes to call PrintCheckInfo . Declare and define a virtual function CalculatePay that performs the necessary calculation of the value for netPay for the derived classes. Then modify the versions of PrintCheck in the derived classes to call CalculatePay . Add new derived classes. Extend the Employee class hierarchy so that class Temporary serves as a base class for two derived classes, Contract and Consultant .
Consultants are Temporary employees who work for a fixed, flat rate.
Rewrite the main program to print checks for these new types of Employees . Also send e-mail to your lab TA and include these files as an attachment. If you have extra time, you can continue your work on the final programming project.