In this exercise, you will create a program that displays the gross pay for one or more

Question:

In this exercise, you will create a program that displays the gross pay for one or more employees. If necessary, create a new project named Introductory17 Project, and save it in the Cpp8\Chap09 folder. The program should allow the user to enter the number of hours the employee worked and his or her hourly pay rate. Use a negative sentinel value to stop the program. Employees are paid at their regular pay rate for hours worked from 1 through 37. They are paid time and one-half for the hours worked from 38 through 50, and double-time for the hours worked over 50. Use a program-defined function to calculate and return the employee’s overtime pay, if applicable. Enter your C++ instructions into a source file named Introductory17.cpp. Also enter appropriate comments and any additional instructions required by the compiler. Test the application appropriately.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: