Question: please use python to write a program Write a program that processes employee data (name, hours worked, pay rate) and produces a report of the

please use python to write a program

please use python to write a program Write a program that processes

Write a program that processes employee data (name, hours worked, pay rate) and produces a report of the employee's name and pay as well as the total payroll for the processing period. In addition, your program should be able to process any number of employees and their pay and be able to have employees (plus pay and hours) ADDED to your employee data. You should load your employee data with some starting values (e.g., 4-5 employees' names plus their rate and their hours) and provide an opportunity to add additional employees (and their data... rate and hours) prior to the payroll being calculated. You must use a function (with arguments and a return to calculate the pay for the period and you must pass it the rate and hours worked and receive the employee's pay for the period. Employees can be paid overtime pay. The overtime rate is 150% of their rate for each hour they work in excess of 40 hours. The final output for the assignment will be a "report" that lists: o Employee name and employee pay for the period (for each employee). o A total line (the last line of the report) that shows the total amount of the payroll for this period. This report may not be printed until ALL employees' pay has been calculated. o

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!