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
Refrigerant 134a enters an insulated compressor operating at steady state as saturated vapor at -26°c with a volumetric flow rate of 0.18 m3/s. refrigerant exits at 9 bar, 70°c. changes in kinetic and potential energy from inlet to exit can be ignored. determine the volumetric flow rate at the exit, in m3/s, and the compressor power, in kw.
Answers: 1
question
Engineering, 04.07.2019 18:10
Asingle-geared blanking press has a stroke of 200 mm and a rated capacity of 320 kn. a cam driven ram is assumed to be capable of delivering the full press load at constant force during the last 15 percent of a constant-velocity stroke. the camshaft has an average speed of 90 rev/min and is geared to the flywheel shaft at a 6: 1 ratio. the total work done is to include an allowance of 16 percent for friction a) estimate the maximum energy fluctuation b) find the rim weight for an effective diameter of 1.2 m and a coefficient of speed fluctuation of 0.10
Answers: 1
question
Engineering, 04.07.2019 18:10
Afluid flows with a velocity field given by v=(x/t)i.. determine the local and convective accelerations when x=3 and t=1.
Answers: 2
question
Engineering, 04.07.2019 18:10
Consider a large isothermal enclosure that is maintained at a uniform temperature of 2000 k. calculate the emissive power of the radiation that emerges from a small aperture on the enclosure surface. what is the wavelength ? , below which 10% of the emission is concentrated? what is the wavelength ? 2 above which 10% of the emission is concentrated? determine the wavelength at which maximum spectral emissive power occurs. what is the irradiation incident on a small object placed inside the enclosure?
Answers: 2
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, 24.02.2021 01:00
question
Biology, 24.02.2021 01:00
question
English, 24.02.2021 01:00
question
Mathematics, 24.02.2021 01:00
question
Mathematics, 24.02.2021 01:00
Questions on the website: 13722363