Question: I am having trouble getting started on a Python Program (introduction course) I am supposed to write a Payroll Program with the information given. Rules

I am having trouble getting started on a Python Program (introduction course) I am supposed to write a Payroll Program with the information given.

Rules

Hours Worked - integer

Rate of Pay float

Input the above two variables and compute gross pay, taxes, and net pay and display

They get double time for any hours over 50

They get time and a half for any hours over 40 and up to 50 (maximum of 10)

They get regular pay for all hours up to 40

Taxes to calculate on gross pay.

Then subtract the taxes from gross pay to get net pay

Federal 25.00%

Minnesota State 7.00%

Social Security 6.00%

Medicare 2.00%

If Hours > 50

Double hours

OT hours

Regular hours

Double rate of pay

OT rate of pay

Double pay

OT pay

Regular pay

Gross pay

If Hours > 40

OT hours

OT rate

OT pay

Regular pay

Gross pay

If Hours <= 40

Regular pay

Gross pay

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!