The payroll manager at Gerston Blankets wants a program that calculates and displays the gross pay for each of the companys employees.It should also calculate and display the gross pay.The payroll manager will enter the number of hours the employee worked and his/her rate of pay.
Employees working over 40 hours should recieve time and one half. Use a value returning function to determine the gross pay of an employee. Use a different value-returning fnction to accumulate the total gross pay. The program should display the total gross pay only after the manager has finished entering the data for all employees. Use a sentinel value to end the program.
a. Create IPO charts for the problem and then desk check the algorithm using the following four sets of hours worked and pay rates; 35,$10.50; 43,$15; 32,$9.75; 20,$6.45