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

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. How does FedRAMP help agencies ensure that Digital Government services are secure?   Must

Follow the attach instructions to complete this work. How does FedRAMP help agencies ensure that Digital Government services are secure?   Must post first. Subscribe The format for your week 3 discussion is a backgrounder (“briefing paper”). Background papers are summaries of issues provided to help decision-makers/leaders/managers make decisions. Decision-makers