Welcome to Premium Paper Help

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

Purpose: The purpose of this assignment is to demonstrate an understanding of the Mission Command principles.   Background Information: Discussion boards a

Purpose: The purpose of this assignment is to demonstrate an understanding of the Mission Command principles.   Background Information: Discussion boards are an important tool in facilitating student learning in an online environment. Your participation allows you to demonstrate understanding of course material through contributing to an ongoing discussion.  Discussion: After