Question: developing a Python program to manage payroll for: a specified list of 1 0 employees Entry of the employee's first and last name, ID ,

developing a Python program to manage payroll for:
a specified list of 10 employees
Entry of the employee's first and last name, ID, number of dependents, hours worked.
The hourly rate should be pulled from a database using the employee ID as the primary key.
Calculate Gross Pay Amount
Overtime will be calculated on hours over 40 at 1.5 times the hourly rate.
Calculate the number of dependents x $25.
Calculate State Tax at 5.6%
Calculate Federal Tax at 7.9%
Calculate the pre-tax amount.
Calculate the pre-tax amount - the dependents x 25.
Calculate the post-tax amount.
Hint: state and federal taxes are calculated on pre-tax amounts
Follow good program standards by storing and defining your variables.
Create a minimum of 3 blocks for your program.

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!