The program must read through a timesheet file (Timesheets.csv) and process the payroll by reading the employee file (Employees.csv) and process each timesheet with the appropriate employee. EmpNo FirstName LastName Position Mgr. Logistias Proje ct Mgr. Pay Rate Exempt 72.12 Y EmpNo Hours 10011 Femi Adu 10011 10002 Zanab Ali 74.52 Y 10002 73.08 Y 144.23 Y Asaad 10007 Fadi 10012 Helen Accountant 10007 40 Billingsly CIO 10012 40 An employee gets overtime when they have worked more than 40 hours Overtime pay is calculated only for nonexempt employees using this formula: Gross Pay = (40'Wage) + ((Hours-40) *Wage"1.5) Regular pay is calculated using this formula: Gross Pay = (Hours"Wage) for exempt employees and Gross Pay = (40"Wage) for exempt employees The files are provided below. Since I used the first rows of each datafile as a header, to name the fields, you need to skip that row to process the data. That can be done many ways. You must research formatting output in Python to get the proper output. This will be the only material you can use that was not covered in class. The output should look like this: Emp No First 10011 Femi 10002 Zanab 10007 Fadl Gross Pay 45.00 72.12 3,425.70 40.00 74.52 2,980.80 40.00 73.08 2,923.20 Billingsly 40.00 144.23 5,769.20 Hours Wage Last Adu Ali Asaad 10012 Helen
The program must read through a timesheet file (Timesheets.csv) and process the payroll by reading the employee file (Employees.csv) and process each timesheet with the appropriate employee. EmpNo FirstName LastName Position Mgr. Logistias Proje ct Mgr. Pay Rate Exempt 72.12 Y EmpNo Hours 10011 Femi Adu 10011 10002 Zanab Ali 74.52 Y 10002 73.08 Y 144.23 Y Asaad 10007 Fadi 10012 Helen Accountant 10007 40 Billingsly CIO 10012 40 An employee gets overtime when they have worked more than 40 hours Overtime pay is calculated only for nonexempt employees using this formula: Gross Pay = (40'Wage) + ((Hours-40) *Wage"1.5) Regular pay is calculated using this formula: Gross Pay = (Hours"Wage) for exempt employees and Gross Pay = (40"Wage) for exempt employees The files are provided below. Since I used the first rows of each datafile as a header, to name the fields, you need to skip that row to process the data. That can be done many ways. You must research formatting output in Python to get the proper output. This will be the only material you can use that was not covered in class. The output should look like this: Emp No First 10011 Femi 10002 Zanab 10007 Fadl Gross Pay 45.00 72.12 3,425.70 40.00 74.52 2,980.80 40.00 73.08 2,923.20 Billingsly 40.00 144.23 5,769.20 Hours Wage Last Adu Ali Asaad 10012 Helen
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
how do i add a tuple to this code?
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 6 steps with 5 images
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY