Question: Overtime - SubmitWrite an algorithm and program that will process the pavroll of an emplovee. The program has two inputs: the hours the employee works

Overtime - SubmitWrite an algorithm and program that will process the pavroll of an emplovee. The program has two inputs: the hours the employee works and the employees hourly pay rate. The program then computes the following items: Gross Pav is calculated as follows hours worked less than 40, Gross = hours \times payrate hours worked between 40 and 60, Gross =40\times payrate +(hours *40)\times payrate \times 1.5o otherwise Gross =70\times payrate +(hours -60)\times payrate \times 2 Federal Tax is calculated as follows Gross less than $500, federal is 5% of gross Otherwise federal is 10% of gross State Tax which equals 5% of Gross Pay Net Pay which equals Gross Pay - Federal Tax - State Tax

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