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

Another question on Engineering

question
Engineering, 04.07.2019 18:10
You are making beer. the first step is filling the glass carboy with the liquid wort. the internal diameter of the carboy is 15 in., and you wish to fill it up to a depth of 2 ft. if your wort is drawn from the kettle using a siphon process that flows at 3 gpm, how long will it take to fill?
Answers: 1
question
Engineering, 04.07.2019 18:10
Condition monitoring is a major component of. (clo4) a)- predictive maintenance. b)-preventive maintenance c)-proactive maintenance d)-reactive maintenance.
Answers: 1
question
Engineering, 04.07.2019 19:10
When subject to a steady load (within elastic range) over a long period of time, what is the major difference in material behavoir between steel and plastic?
Answers: 2
question
Engineering, 04.07.2019 19:10
Plan an experiment to measure the surface tension of a liquid similar to water. if necessary, review the ncfmf video surface tension for ideas. which method would be most suitable for use in an undergraduate laboratory? what experimental precision could be expected?
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
question
Health, 26.09.2019 03:30
question
English, 26.09.2019 03:30
question
Mathematics, 26.09.2019 03:30
question
Mathematics, 26.09.2019 03:30