Question: This time we're going to write a program to calculate a week's wages for multiple employees. The program should input firstname, lastname, hours worked and
This time we're going to write a program to calculate a week's wages for multiple employees.
The program should input firstname, lastname, hours worked and payrate into four separate lists.
The employee's Gross pay should be calculated by a separate function and take into account overtime hours worked over to be the standard pay rate.
The summary should have two leftaligned columns and two right aligned colums and the employee names should be all caps.
InputOutput Example:
Enter the Employee's first name or press enter to quit!: Some
Enter the Employee's last name: Guy
Enter hours worked:
Enter payrate:
Enter the Employee's first name or press enter to quit!: Some
Enter the Employee's last name: Gal
Enter hours worked:
Enter payrate:
Enter the Employee's first name or press enter to quit!: Another
Enter the Employee's last name: Guy
Enter hours worked:
Enter payrate:
Enter the Employee's first name or press enter to quit!:
Summary of Employee Wages
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
