Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data And Databases

Authors: Jeff Mapua

1st Edition

1978502257, 978-1978502253

More Books

Students also viewed these Databases questions

Question

I receive useful feedback about my performance.

Answered: 1 week ago

Question

I am encouraged to offer opinions/suggestions.

Answered: 1 week ago