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, 03.07.2019 15:10
Heat is added to a piston-cylinder device filled with 2 kg of air to raise its temperature 400 c from an initial temperature of t1 27 cand pressure of pi 1 mpa. the process is isobaric process. find a)-the final pressure p2 b)-the heat transfer to the air.
Answers: 1
question
Engineering, 04.07.2019 18:10
At 12 noon, the count in a bacteria culture was 400; at 4: 00 pm the count was 1200 let p(t) denote the bacteria cou population growth law. find: (a) an expression for the bacteria count at any time t (b) the bacteria count at 10 am. (c) the time required for the bacteria count to reach 1800.
Answers: 1
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
A-mn has a cubic structure with a0 0.8931 nm and a density of 7.47 g/cm3. b-mn has a different cubic structure, with a0 0.6326 nm and a density of 7.26 g/cm3. the atomic weight of manganese is 54.938 g/mol and the atomic radius is 0.112 nm. determine the percent volume change that would occur if a-mn transforms to b-mn.
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
Mathematics, 05.05.2021 07:50
question
Mathematics, 05.05.2021 07:50
question
Business, 05.05.2021 07:50
question
Mathematics, 05.05.2021 07:50
Questions on the website: 13722367