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

Another question on Engineering

question
Engineering, 03.07.2019 14:10
The y form of iron is known as: a) ferrite b) cementite c) perlite d) austenite
Answers: 3
question
Engineering, 03.07.2019 15:10
Apiston-cylinder with a volume of 0.25 m3 holds 1 kg of air (r 0.287 k/kgk) at a temperature of 100 c. heat transfer to the cylinder causes an isothermal expansion of the piston until the volume triples. how much heat is added to the piston-cylinder?
Answers: 3
question
Engineering, 04.07.2019 18:10
The thermal expansion or contraction of a given metal is a function of the f a)-density b)-initial temperature c)- temperature difference d)- linear coefficient of thermal expansion e)- final temperature f)- original length
Answers: 2
question
Engineering, 04.07.2019 18:20
Atank with constant volume contains 2.27 kg of a mixture of water phases (liquid-vapor). in the initial state the temperature and the quality are 127 Β°c and 0.6, respectively. the mixture is heated until the temperature of 160 oc is reached. illustrate the process in a t-v diagram. then, determine (1) the mass of the vapor in kg at the initial state, (2) the final pressure in kpa.
Answers: 3
You know the right answer?
Programming challenge description: the goal of this challenge is to design a cash register program....
Questions
question
Chemistry, 10.02.2021 22:50
question
Mathematics, 10.02.2021 22:50
question
Chemistry, 10.02.2021 22:50
Questions on the website: 13722362