Question: Design an algorithm that will process the weekly employee time cards for all the employees of an organisation. Each employee time card will have three

Design an algorithm that will process the weekly employee time cards for all the employees of an organisation. Each employee time card will have three data items: an employee number, an hourly wage rate and the number of hours worked during a given week. Each employee is to be paid time-and-a-half for all hours worked over 35. A tax amount of 15% of gross salary is to be deducted. The output to the screen should display the employees number and net pay. At the end of the run, display the total payroll amount and the average amount paid.

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 Programming Questions!