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 18:10, koolgurl2003
Apump is used to circulate hot water in a home heating system. water enters the well-insulated pump operating at steady state at a rate of 0.42 gal/min. the inlet pressure and temperature are 14.7 lbf/in.2, and 180°f, respectively; at the exit the pressure is 60 lbf/in.2 the pump requires 1/15 hp of power input. water can be modeled as an incompressible substance with constant density of 60.58 lb/ft3 and constant specific heat of 1 btu/lb or. neglecting kinetic and potential energy effects, determine the temperature change, in °r, as the water flows through the pump.
Answers: 1
image
Engineering, 04.07.2019 18:10, QueenLife4869
Awall of 0.5m thickness is to be constructed from a material which has average thermal conductivity of 1.4 w/mk. the wall is to be insulated with a material having an average thermal conductivity of 0.35 w/mk so that heat loss per square meter shall not exceed 1450 w. assume inner wall surface temperature of 1200°c and outer surface temperature of the insulation to be 15°c. calculate the thickness of insulation required.
Answers: 3
image
Engineering, 04.07.2019 18:20, CelesteN64
Most leaks in reciprocating air compressors can be detected and minimized by: (clo4) a)-detecting leakage areas using ultrasonic acoustic detector. b)-tightening joints and connections c)-replacing faulty equipment d)-all of the given options
Answers: 2
image
Engineering, 04.07.2019 18:20, myahlit84
Inadequate stores control is not an obstacle to effective work order system. (clo4) a)-true b)-false
Answers: 3
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: