Write a program that will compute the paychecks for a small business. The business owner would like to be able to enter in an employee name, pay rate, and number of hours worked. The owner would like be able to specify the number of employees, and after all have been entered, receive as output the regular pay, overtime pay and total pay for all employees. Output of the totals for regular, overtime, and total pay so that the company may better control the payroll and the use of overtime.I already got the first part(hours, rate, OV) but I can't do the loop to go to the next name and re-calculate, and do the last part, please!! can someone help?
1 answer
This is an interesting project. We would like to see how you propose to do it. Send us some code or pseudocode, and we will be glad to help if you have difficulties.