Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need to create a Python program that will read employee data such as an Employee Number, Name, Street Address, Hourly Wage, and Hours worked

I need to create a Python program that will read employee data such as an Employee Number, Name, Street Address, Hourly Wage, and Hours worked this week. The program needs to calculate payroll deductions for each employee and their net pay. I also want it to print an error message to the console if an error does occur. The program needs to stay running and not exit.

An employee's gross pay is calculated by multiplying the hours worked by their hourly wage. Be sure to give them time-and-a-half for overtime (anything over 40 hours)

To compute the net pay, deduct 20% for Federal Income Tax, and 7.5% for State Income Tax. Every employee on the payroll will need to be represented in the program by its own employee object.

I'd like the GUI to look like this:

image text in transcribed

I also need to add a Previous button (not shown) in order to scroll backward through the data.

Let me know if you need more information or clarity. Thank you.

FluffShuffle Electronics File Exit Name: John ManyWeather Address: 123 West Main Street Net Pay $108.75 Ned FluffShuffle Electronics File Exit Name: John ManyWeather Address: 123 West Main Street Net Pay $108.75 Ned

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

Step: 3

blur-text-image

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

More Books

Students also viewed these Databases questions