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

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 07:30
In the film "epic 2015," epic is the name for:
Answers: 3
question
Computers and Technology, 22.06.2019 16:00
If a client wants to make minor edits, what should he/she use?
Answers: 3
question
Computers and Technology, 22.06.2019 21:00
Write a method so that the main() code below can be replaced by the simpler code that calls method original main(): public class calcmiles { public static void main(string [] args) { double milesperhour; double minutestraveled; double hourstraveled; double milestraveled; milesprhour = scnr.nextdouble(); minutestraveled = scnr.nextdouble(); hourstraveled = minutestraveled / 60.0; milestraveled = hourstraveled * milesperhour; system.out.println("miles: " + milestraveled); } }
Answers: 2
question
Computers and Technology, 23.06.2019 00:30
Write the html code to make a link out of the text “all about puppies”. it should link to a pdf called “puppies.pdf” inside the “documents” folder. the pdf should open in a new window.
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
question
Mathematics, 09.11.2020 20:00
question
Mathematics, 09.11.2020 20:10
question
Mathematics, 09.11.2020 20:10
question
Mathematics, 09.11.2020 20:10
Questions on the website: 13722367