subject
Engineering, 02.11.2019 04:31 sedratkawaiah13

Programming challenge description: the goal of this challenge is to design a cash register program. you will be given two decimal numbers. the first is the purchase price (pp) of the item. the second is the cash (ch) given by the customer. your register currently has the following bills/coins within it: 'penny': .01, 'nickel': .05, 'dime': .10, 'quarter': .25, 'half dollar': .50, 'one': 1.00, 'two': 2.00, 'five': 5.00, 'ten': 10.00, 'twenty': 20.00, 'fifty': 50.00, 'one hundred': 100.00 the aim of the program is to calculate the change that has to be returned to the customer.

ansver
Answers: 1

Other questions on the subject: Engineering

image
Engineering, 04.07.2019 18:10, oliviasoreo92
Compute the pressure drop of 30°c air flowing with a mean velocity of 8 m/s in a circular sheet-metal duct 300 mm in diameter and 15 m long. use a friction factor, f 0.02, and pair = 1.1644 kg/m a. 37.26 pa b. 25.27 pa n c. 29.34 pa d. 30.52 pa
Answers: 1
image
Engineering, 04.07.2019 18:20, moneywaydaedae
Air is compressed isentropically from an initial state of 300 k and 101 kpa to a final temperature of 1000 k. determine the final pressure using the following approaches: (a) approximate analysis (using properties at the average temperature) (b) exact analysis
Answers: 1
image
Engineering, 04.07.2019 18:20, cdyshaylia55
Water vapor initially at 10 bar and 400 °c is contained within a piston-cylinder assembly. the water lost heat to the surrounding according to isochoric (iso-volumetric) process until its temperature is 150 °c. the water is then condensed isothermally to saturated liquid. for the water as a system, calculate the work in kj/kg
Answers: 2
image
Engineering, 06.07.2019 03:10, DeathFightervx
Air is flows through an adiabatic nozzle with an inlet pressure of 400 psia at a temperature of 300°f and a velocity of 20 ft/s. the outlet pressure is 40 psia and the velocity is 800 ftl/s. determine the outlet temperature of the air using: a) property tables b) specific heat (using the specific heat value for air at 300°f)
Answers: 3
You know the right answer?
Programming challenge description: the goal of this challenge is to design a cash register program....

Questions in other subjects:

Konu
Mathematics, 18.10.2020 15:01
Konu
Biology, 18.10.2020 15:01