Question: Part 1 Create a new function that will input and return the from date and to date for the hours worked and is called inside

Part 1
Create a new function that will input and return the from date and to date for the hours worked and is called inside the loop. This should be the first function called. Dates must be in the format mm/dd/yyyy.
Store the from date, to date, employee name, total hours, hourly rate and income tax rate in a list object. Note: multiple list objects may be needed to complete this functionality
After the user terminates the loop, call a function that will:
Read through the list(s) and for each employee calculate the income tax and net pay.
Display the from date, to date, employee name, hours worked, hourly rate, gross pay, income tax rate, income taxes and net pay for the employee.
Increment the total number of employees, total hours, total tax, total net pay and store the values in a dictionary object.
Modify the function that displays totals to read the data from the dictionary object and then display the totals.
Part 1 Create a new function that will input and

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!