Question: C++ Create a program that displays the weekly gross pay for any number of employees. The user will input the number of hours the employee

C++ Create a program that displays the weekly gross pay for any number of employees. The user will input the number of hours the employee worked and the employees hourly rate. Employees working more than 40 hours receive time and one-half for the hours worked over 40. Enter appropriate comments and any additional instructions required by the compiler. Save, run, and test the program.

 C++ Create a program that displays the weekly gross pay for

1. //Introductory18.cpp - displays weekly gross pay amounts 2. //Created/revised by 4_ #include iostream 6. using namespace std; 8. int main() 10.double bourslkd-0.0; double rate 0.0 12. double grossPay=0.0; 13 14. sautfixed > cout " cin >> grossPay 23 25 26 27 grossPay + //end if cout > 29 30 31 32. 33. \ //end of main function /end while

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!