P4HW2 - Employees Pay Introduction: Assignment assess student ability to edit and enhance exiting programs Instructions: For assignment P4HW2 you will build on P3HW2 assignment The program however will calculate gross pay for multiple employees, number determined by user, and also calculates total amount payed for overtime, total amount payed for regular pay and total amount payed for all employees Program breakdown below 1. Asks the user employee name 2. Enter user pay rate and hours worked 3 Calculate overpay and regPay Store these values in variables, at the end of the program you will display overtime total, regular pay total gross pay total and number of employees entered 4. Ask user to enter another employee's name to calculate salary for or "None" to terminate program Note we are using sentinals here. 5 When user chooses to stop entering employee information, display results as shown in image below. 6 THE PROGRAM ONLY TÉRMINATES IF THE USERS "None" for employee name. Example of output is shown below (Note that results may vary depending on score entered) Enter ployee nane or "None to terninate Nancy Ovens Row many houts did Nancy Ovens vorked? 39 What la Nancy ovenaa pay rate? 20 Employee Ane Nancy Ovena Rours Workked Pay Rate Overtie Overtie Pay Regilour Pay GrOns Pay 39.0 20.0 S700.00 S700.00 Rater ployee's nae or "None to teninate Joha Smith Mow any houre did John taith worked? 45 what i John nith's pay rate? 10.5 Employee name John th Mours Morked Pay Bate Overtine overtine Pay egtour Pay Gross Pay 45.0 18.5 5.0 138.75 8740.00 870.75 Enter enployee's name or "None to terminates one Total nunber of enployees enteredi2 Total anount payed for overtie 13.75 Total anount payed for regular hourst 1520.00 Total anount payed in grossI S1658.75

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...
icon
Related questions
Question
100%
Help me get this output for this assignment using python
P4HW2 - Employees Pay
Introduction:
Assignment assess student ability to edit and enhance exiting programs
Instructions:
For assignment P4HW2 you will build on P3HW2 assignment The program however will calculate gross pay for multiple employees, number determined by user, and also calculates total amount payed for overtime , total amount payed for regular pay
and total amount payed for all employees
Program breakdown below
1. Asks the user employee name
2. Enter user pay rate and hours worked
3. Calculate overpay and regPay Store these values in variables, at the end of the program you will display overtime total, regular pay total ,gross pay total and number of employees entered
4. Ask user to enter another employee's name to calculate salary for or "None" to terminate program. Note we are using sentinals here.
5. When user chooses to stop entering employee information, display results as shown in image below.
6. THE PROGRAM ONLY TERMINATES IF THE USERS "None" for employee name.
Example of output is shown below (Note that results may vary depending on score entered)
Enter employee'a name or "None" to terminate: Nancy Ovens
How many hours did Nancy Owens worked? 39
What is Nancy ovena'a pay rate? 20
Employee nane:
Nancy Owena
Rours Worked
Pay Rate
OverTime
Overtime Pay
Regllour Pay
Gross Pay
39.0
20.0
$780.00
$700.00
Enter employee's name or "None" to terminate: John Smith
How many hours did John Smith worked? 45
What is John Smith's pay rate? 10.5
Fmployen name:
John Smith
Hours Morked
Pay Rate
OverTine
OverTime Pay
Regllour Pay
Gross Pay
45.0
18.5
5.0
138.75
$740.00
$878.75
Enter employee's name or "None" to terminate: None
Total nunber of employeea entered:2
Total anount payed for overtime: $138.75
Total anount payed for regular hours: $1520.00
Total amount payed in gross: $1658.75
Transcribed Image Text:P4HW2 - Employees Pay Introduction: Assignment assess student ability to edit and enhance exiting programs Instructions: For assignment P4HW2 you will build on P3HW2 assignment The program however will calculate gross pay for multiple employees, number determined by user, and also calculates total amount payed for overtime , total amount payed for regular pay and total amount payed for all employees Program breakdown below 1. Asks the user employee name 2. Enter user pay rate and hours worked 3. Calculate overpay and regPay Store these values in variables, at the end of the program you will display overtime total, regular pay total ,gross pay total and number of employees entered 4. Ask user to enter another employee's name to calculate salary for or "None" to terminate program. Note we are using sentinals here. 5. When user chooses to stop entering employee information, display results as shown in image below. 6. THE PROGRAM ONLY TERMINATES IF THE USERS "None" for employee name. Example of output is shown below (Note that results may vary depending on score entered) Enter employee'a name or "None" to terminate: Nancy Ovens How many hours did Nancy Owens worked? 39 What is Nancy ovena'a pay rate? 20 Employee nane: Nancy Owena Rours Worked Pay Rate OverTime Overtime Pay Regllour Pay Gross Pay 39.0 20.0 $780.00 $700.00 Enter employee's name or "None" to terminate: John Smith How many hours did John Smith worked? 45 What is John Smith's pay rate? 10.5 Fmployen name: John Smith Hours Morked Pay Rate OverTine OverTime Pay Regllour Pay Gross Pay 45.0 18.5 5.0 138.75 $740.00 $878.75 Enter employee's name or "None" to terminate: None Total nunber of employeea entered:2 Total anount payed for overtime: $138.75 Total anount payed for regular hours: $1520.00 Total amount payed in gross: $1658.75
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
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 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)
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
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY