subject
Engineering, 14.11.2019 02:31 mhortin

Asupermarket wants to reward its best customer of each day, showing the customer’s name on a screen in the supermarket. for that purpose, the customer’s purchase amount is stored in a list and the customer’s name is stored in a corresponding list. implement a function def nameofbestcustomer(sales, customers) that returns the name of the customer with the largest sale. write a program that prompts the cashier to enter all prices and names, adds them to two lists, calls the function that you implemented, and displays the result. use a price of 0 as a sentinel.

ansver
Answers: 3

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Burgers vector is generally parallel to the dislocation line. a)-true b)-false
Answers: 2
question
Engineering, 04.07.2019 18:10
Carbon dioxide gas expands isotherm a turbine from 1 mpa, 500 k at 200 kpa. assuming the ideal gas model and neglecting the kinetic and potential energies, determine the change in entropy, heat transfer and work for each kilogram of co2.
Answers: 2
question
Engineering, 04.07.2019 18:10
Which of the following controllers anticipates the future from the slope of errors over time? a)-proportional b)-on/off c)-integral d)-derivative.
Answers: 2
question
Engineering, 04.07.2019 18:10
An air compression refrigeration system is to have an air pressure of 100 psia in the brine tank and an allowable air temperature increase of 60°f for standard vapor compression cycle temperatures of 77 f entering the expansion cylinder and 14 f entering the compression cylinder, calculate the coefficient of performance a. 2.5 b 3.3 c. 4.0 d. 5.0
Answers: 3
You know the right answer?
Asupermarket wants to reward its best customer of each day, showing the customer’s name on a screen...
Questions
question
Mathematics, 12.12.2021 01:40
Questions on the website: 13722363