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, 04.07.2019 18:10
Coiled springs ought to be very strong and stiff. si3n4 is a strong, stiff material. would you select this material for a spring? explain.
Answers: 2
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
During a steady flow process, the change of energy with respect to time is zero. a)- true b)- false
Answers: 2
question
Engineering, 04.07.2019 18:20
Along 8-cm diameter steam pipe whose external surface temperature is 900c connects two buildings. the pipe is exposed to ambient air at 70c with a wind speed of 50 km/hr blowing across the pipe. determine the heat loss from the pipe per unit length. (b) air at 500c enters a section of a rectangular duct (15 cm x 20 cm) at an average velocity of 7 m/s. if the walls of the duct are maintained at 100c. a) the length of the tube for an exit temperature of the air to be 40 0c. b)the rate of heat transfer from the air. c) the fan power needed to overcome the pressure drop in this section of the duct.
Answers: 1
You know the right answer?
Programming challenge description: the goal of this challenge is to design a cash register program....
Questions
question
Mathematics, 04.02.2021 05:40
question
Mathematics, 04.02.2021 05:40
Questions on the website: 13722367