Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Create a simple programmer prototype Library using a .h header file for your Gro

ID: 3828265 • Letter: C

Question

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.

Explanation / Answer

#include #include #include using namespace std; int main() { double hourly_rate; double hours; double gross_pay; printf("Please input the hourly rate of the employee: "); cin >> hourly_rate; printf("Please input the number of hours worked by the employee: "); cin >> hours; if(hours
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote