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

SQL help Exercise 8: Write your SQL statement in a file named CIS276DA_Lesson3Exercise8_MEID.sql. Run the script and export the results to

SQL help Exercise 8: Write your SQL statement in a file named CIS276DA_Lesson3Exercise8_MEID.sql. Run the script and export the results to CIS276DA_Lesson3Exercise8_MEID.csv. Exercise 9: Write your SQL statement in a file named CIS276DA_Lesson3Exercise9_MEID.sql. Run the script and export the results to CIS276DA_Lesson3Exercise9_MEID.csv. Exercise 10: Write your SQL statement in a

SQL Statements Exercise 8: Write your SQL statement in a file named CIS276DA_Lesson3Exercise8_MEID.sql. Run the script and export the results to

SQL Statements Exercise 8: Write your SQL statement in a file named CIS276DA_Lesson3Exercise8_MEID.sql. Run the script and export the results to CIS276DA_Lesson3Exercise8_MEID.csv. Exercise 9: Write your SQL statement in a file named CIS276DA_Lesson3Exercise9_MEID.sql. Run the script and export the results to CIS276DA_Lesson3Exercise9_MEID.csv. Exercise 10: Write your SQL statement in a

An interrupt occurs. Data transfer for the current application completes. Execute kernel function in kernel mode. Transfer execution to

An interrupt occurs. Data transfer for the current application completes. Execute kernel function in kernel mode. Transfer execution to another application. An interrupt occurs. Block the current application. Data transfer for the current application completes. Transfer execution from another application back to the kernel in kernel mode. this are the option give me the

Project 1: Develop Cloud Migration Plan  Step 4: Install AWS Application Discovery Agent  At this point in the migration planning process, you’ve

Project 1: Develop Cloud Migration Plan  Step 4: Install AWS Application Discovery Agent  At this point in the migration planning process, you’ve considered premigration issues, reviewed premigration assessment tools, and familiarized yourself with AWS Application Discovery Services. You are now ready to install and test the AWS Application Discovery Agent.

Discussion: Evaluation of AWS Application Discovery Service

Discussion: Evaluation of AWS Application Discovery Service Contains unread posts Now that you have discussed the data migration and application migration strategies, you will discuss and evaluate AWS Application Discovery Service. You should ensure that you cover the following areas: · What is agent-based discovery? · What is agentless discovery?