would anyone be kind enough to help fix my code for this void function this is due very soon and ive been working hard and posted a few times on here and i still cant seem to get it right and i have working on for about a week and im having alot of trouble with void functions here is the question
"The payroll manager at Gerston Blankets wants a program that calculates and displays the gross pay for
each of the company’s employees. It also should calculate and display the total gross pay. The payroll
manager will enter the number of hours the employee worked and his or her pay rate. Employees
working more than 40 hours should receive time and one-half for the hours over 40. Use a void function
to determine an employee’s gross pay. Use a value-returning func-tion to accumulate the total gross
pay. The program should display the total gross pay only after the payroll manager has finished entering
the data for all the employees. Use a sentinel value to end the program."
"Use a void function to determine an employee’s gross pay" - that's one function.
"Use a value-returning function to accumulate the total gross pay - that's a second function.