subject
Engineering, 08.04.2020 01:27 sssavannahh

Dollars = 0 quarters = 0 dimes = 0 nickels = 0 pennies = 0 total = 0 total = int(input()) if total <= 0: print('No Change') else: dollars = total // 100 total %= 100 quarters = total // 25 total %= 25 dimes = total // 10 total %= 10 nickels = total // 5 total %= 5 pennies = total if dollars > 0: print('%d Dollars' %dollars) if quarters > 0: print('%d Quarters' %quarters) if dimes > 0: print('%d Dimes' %dimes) if nickels > 0: print('%d Nickels' %nickels) if pennies > 0: print('%d pennies' %pennies)

ansver
Answers: 2

Other questions on the subject: Engineering

image
Engineering, 04.07.2019 08:10, doggo242
Which of the following is an easy way to remember the modified “x” tire rotation? a. nondrive wheels straight, cross the drive wheels b. drive wheels straight, cross the nondrive wheels c. drive wheels crossed, nondrive wheels straight d. drive wheels crossed, nondrive wheels crossed
Answers: 1
image
Engineering, 04.07.2019 18:10, ahmedeldyame
Aloaded platform of total mass 500 kg is supported by a dashpot and by a set of springs of effective stiffness 72 kn/m. it is observed that when the platform is depressed through a distance x = 12.5 cm below its equilibrium position and then released without any initial velocity; it reaches its equilibrium position in the shortest possible time without overshoot. find the position and velocity of the loaded platform 0.10 sec. after its release. if a further load of 400 kg is added to the platform, find, i) the frequency of damped vibrations, and i) the amplitude of vibration after 2 complete oscillations, given that the initial amplitude is 15 cm.
Answers: 1
image
Engineering, 04.07.2019 18:10, demarcuswiseman
Calculate the bore of a cylinder that has a stroke of 18 inches and an extension time of 6 seconds at a flow rate of 4 gal/min.
Answers: 3
image
Engineering, 04.07.2019 19:10, rhiannpelham60
The maximum shear stress and maximum flexural stress occur at the same location along a beam subjected to a non-uniform bending load. a)-trune b)- false
Answers: 2
You know the right answer?
Dollars = 0 quarters = 0 dimes = 0 nickels = 0 pennies = 0 total = 0 total = int(input()) if total &...

Questions in other subjects: