Computers and Technology
Computers and Technology, 01.12.2021 01:30, lesly0913

John owns a small coffee shop, and he has four employees who work as baristas (coffee bartenders). All of the employees have the same hourly rate. Write a program that will allow her to enter the number of hours worked by each employee, then display the amounts of all the employee's gross pay. You determine the program should perform the following steps: 1. For each employee: get the number of hours worked and stored it in a list element. 2. For each list element: use the value stored in the element to calculate an employee's gross pay. Display the amount of the gross pay. NUM_EMPLOYEES = 4 #Create a list to hold employee hours #YOUR CODE -FILL IN BLANK #Get each employee's hours worked #Fill in blanks for in (NUM_EMPLOYEES) print("Enter the hours worked by employee ; index +1, : , sep=", end='') = float(input); #Get the hourly pay rate #YOUR CODE -FILL IN BLANKS pay_rate= #Display each employee's gross pay #YOUR CODE - FILL IN BLANKS for in (NUMB_EMPLOYEES) gross_pay = pay_rate print(" Gross pay for each employee , index +1,': $', formato ..2f"), sep='')

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 23:50, Crull5999
List a few alternative options and input and output over the standerd keyboard and monitor. explain their functioning in details.
Answers: 2
image
Computers and Technology, 24.06.2019 12:50, vianca15
What percentage of teens plays video games? a.97% b.100% c.74% d.50%
Answers: 1
image
Computers and Technology, 24.06.2019 23:00, Jennifer312332
Hypertension occurs when blood pressure is too high.
Answers: 1
image
Computers and Technology, 25.06.2019 00:00, bestdiva2
What function key is used to enable the spelling and grammar function
Answers: 1
Do you know the correct answer?
John owns a small coffee shop, and he has four employees who work as baristas (coffee bartenders). A...

Questions in other subjects:

Konu
Chemistry, 24.03.2021 18:50
Konu
Chemistry, 24.03.2021 18:50