If necessary create a new project named advanced24 project


In this exercise, you create a program that calculates and displays gross pay amounts. The user will enter the number of hours an employee worked and his or her pay rate. The program should contain four value-returning functions: main, get Hours Worked, get Pay Rate, and calc Gross. The main function should call each of the other three functions and then display the gross pay on the screen. When coding the calc Gross function, you do not have to worry about overtime pay. You can assume that everyone works 40 or fewer hours per week. The hours worked and rate of pay may contain a decimal place. Use a sentinel value to end the program.

a. Create IPO charts for the problem, and then desk-check the algorithm using the following two sets of hours worked and pay rates: 25.5, $12; 40, $11.55.

b. List the input, processing, and output items, as well as the algorithm, in a chart similar to the one shown earlier in Figure 9-48. Then code the algorithm into a program.

c. Desk-check the program using the same data used to desk-check the algorithm.

d. If necessary, create a new project named Advanced24 Project. Enter your C++ instructions into a source fi le named Advanced24.cpp. Also enter appropriate comments and any additional instructions required by the compiler.

e. Save and then run the program. Test the program using the same data used to desk-check the program.

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: If necessary create a new project named advanced24 project
Reference No:- TGS01594543

Expected delivery within 24 Hours