Question: C++ with comments Create a simple programmer prototype Library using a .h header file for your GrossPay Function Prototypes. Write a .cpp file that includes
C++ with comments
Create a simple programmer prototype Library using a .h header file for your GrossPay Function Prototypes. Write a .cpp file that includes your functions from your Gross Pay program but no prototypes. Create a program called Over Time that calls getHoursWorked() and getPayRate() from your GrossPay .cpp file. Make sure that for 40 hours or below, call CalcGross0 from your GrossPay program. For more than 40 hours, write a new method (outside of main) in your OverTime program that pays the first 40 hours at straight Pay Rate and anything above 40 hours at 1.5 times Pay Rate. The final date/time to submit this assignment is Friday, April 28th at midnight
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
