subject

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='')

ansver
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 11:30, kieante01
The most accurate readings that you can take on an analog vom are when the meter's pointer is at the a. center scale. b. extreme right. c. near right. d. extreme left.
Answers: 1
image
Computers and Technology, 24.06.2019 18:20, bm42400
The following if statement contains a logic error, not a syntax error. rewrite it so that it is correct. assume the variable age already exists and holds a valid number. if (age == 18 & & age == 19) {
Answers: 1
image
Computers and Technology, 24.06.2019 21:30, Xghoued2056
Aobject is used for displaying the results of a question based on stored data. a. query b. report c. table d. form
Answers: 2
image
Computers and Technology, 25.06.2019 04:50, mlinares776
Your program should prompt the user for the dimensions of the two squares matrices, making sure that the user input is greater than or equal to 4.[ yes, an example would be a4x4matrix]2.if the above is not met, prompt the user for a new value.3.now generate random integernumbers to fill both matrices.4.display these two matrices on the screen.5.multiply the two matrices and display the result on the scre
Answers: 2
You know the right answer?
John owns a small coffee shop, and he has four employees who work as baristas (coffee bartenders). A...

Questions in other subjects:

Konu
Mathematics, 06.03.2020 20:17