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

 Discuss how advanced practice nurses use population health competencies to identify and address the needs of their client population. Describe how

 Discuss how advanced practice nurses use population health competencies to identify and address the needs of their client population. Describe how advanced practice nurses can collaborate with other healthcare professionals and community stakeholders to address the needs of populations.  Discuss challenges advanced practice nurses face when integrating population health competencies

Assigned Rating Scale: Brief Psychiatric Rating Scale (BPRS) TO PREPARE: · Review this week’s Learning Resources and reflect on the insights they provide

Assigned Rating Scale: Brief Psychiatric Rating Scale (BPRS) TO PREPARE: · Review this week’s Learning Resources and reflect on the insights they provide regarding psychiatric assessment and diagnosis. · Consider the elements of the psychiatric interview, history, and examination. · Consider the assessment tool assigned to you by the Course