See attachment belowWrite a Python program to calculate pay for multiple employees for an entire week. First, ask the user to enter the number

See attachment below

Write a Python program to calculate pay for multiple employees for an entire week. 

First, ask the user to enter the number of employees. Then for each of those employees, ask how many hours he/she worked each of the last five days. 

The pay rate is $15 for the first 40 hours worked that week, then $22.50 for every hour worked over 40 hours that week. We will once again ignore taxes.

Below is an example run:

How many employees worked this week? 2

How many hours did employee 1 work on day 1? 8

How many hours did employee 1 work on day 2? 7

How many hours did employee 1 work on day 3? 7

How many hours did employee 1 work on day 4? 9

How many hours did employee 1 work on day 5? 8

Employee 1 worked 39 hours and earned $585.00 this week.

How many hours did employee 2 work on day 1? 10

How many hours did employee 2 work on day 2? 8

How many hours did employee 2 work on day 3? 9

How many hours did employee 2 work on day 4? 10

How many hours did employee 2 work on day 5? 8

Employee 2 worked 45 hours and earned $712.50 this week.

Share This Post

Email
WhatsApp
Facebook
Twitter
LinkedIn
Pinterest
Reddit

Order a Similar Paper and get 15% Discount on your First Order

Related Questions

Follow the attach instructions to complete this work. Make sure it aligns with the rubricProject #2: Manager’s Deskbook Company Background &

Follow the attach instructions to complete this work. Make sure it aligns with the rubric Project #2: Manager’s Deskbook Company Background & Operating Environment Red Clay Renovations is an internationally recognized, awarding winning firm that specializes in the renovation and rehabilitation of residential buildings and dwellings. The company specializes in

Follow the attach instructions to complete this work. Make sure it aligns with rubricProject #1: Employee Handbook Company Background &

Follow the attach instructions to complete this work. Make sure it aligns with rubric Project #1: Employee Handbook Company Background & Operating Environment Red Clay Renovations is an internationally recognized, awarding winning firm that specializes in the renovation and rehabilitation of residential buildings and dwellings. The company specializes in updating