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, 23.06.2019 16:00
Helen is having a meeting with her colleagues in her company. they are working on the goals and objectives for the coming year. they want to ensure that these goals and objectives of the processes involved are properly evaluated. which system can helen and her colleagues apply to evaluate this? helen and her colleagues require a blank to evaluate the goals and objectives.
Answers: 2
question
Computers and Technology, 23.06.2019 22:30
How many points do i need before i can send a chat
Answers: 1
question
Computers and Technology, 24.06.2019 07:20
Ingrid started speaking about her slide presentation. when she clicked to th"third slide, which had just a picture of an elephant, she forgot what she wassupposed to talk about. what could ingrid do to avoid this situation in thefuture? oa. print handouts for her audience.ob. add presenter's notes to each slide.oc. add a video to each slide.od. save her slide presentation to a flash drive
Answers: 2
question
Computers and Technology, 24.06.2019 13:10
Write a program that has a conversation with the user. the program must ask for both strings and numbers as input. the program must ask for at least 4 different inputs from the user. the program must reuse at least 3 inputs in what it displays on the screen. the program must perform some form of arithmetic operation on the numbers the user inputs. turn in your .py file as well as a screenshot of your program's output. include comments in your code to explain how it works an example program run might look like (have fun with this and be creative): β€˜what is your name? ’ β€œjosh” β€˜, josh. what is your favorite color? ’ β€œgreen” β€˜mine too. do you also like ice cream? ’ β€œno” β€˜josh, how old are you? ’ β€œ40” β€˜ and how many siblings do you have? ’’ β€œ3” β€˜that means you are one of 4 kid(s). is green the favorite color of anyone else in your house? ’
Answers: 3
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
English, 01.10.2019 11:30
question
Social Studies, 01.10.2019 11:30
question
Mathematics, 01.10.2019 11:30
Questions on the website: 13722363