subject
Engineering, 25.10.2019 23:43 hanahspeers

In this project you will be programming toward a solution of a problem using decision making blocks such as if statements. your project must contain some combination of if, else, elif blocks. you will write a program that will prompt the user for the total change amount as an integer input, and your program will output the change using the fewest coins, one coin type per line. the coin types are dollars, quarters, dimes, nickels, and pennies. use singular and plural coin names as appropriate, like 1 penny vs. 2 pennies. example of a sample run: enter the change amount as integer: 123 1 dollar 2 dimes 3 pennies enter the change amount as integer: 45 1 quarter 2 dimes enter the change amount as integer: -45 no change enter the change amount as integer: 100 1 dollar enter the change amount as integer: 125 1 dollar 1 quarter 1 quarter se po t lab activity 23.1.1: project 1: finding the exact change using decision making blocks 23.1.1: project 0/100 main. py load default 1 print("this program asks the user to enter a change amount using integers only," 2 print("and outputs the change using the fewest coins.") 3 input_val = int(input("enter the change amount as integer : ") von "' type your code here." develop mode submit mode run your program as often as you'd like, before submitting for grading. below, type any needed input values in the first box, then click run program and observe the program's output in the second box predefine program input (optional) if you'd like to predefine your inputs, provide them here.

ansver
Answers: 1

Another question on Engineering

question
Engineering, 03.07.2019 15:10
If you were designing a bumper for a car, would you prefer it to exhibit elastic or plastic deformation? why? consider the functions of a bumper in both a minor "fender-bender" and a major collision.
Answers: 1
question
Engineering, 04.07.2019 18:10
Refrigerant 134a enters an insulated compressor operating at steady state as saturated vapor at -26°c with a volumetric flow rate of 0.18 m3/s. refrigerant exits at 9 bar, 70°c. changes in kinetic and potential energy from inlet to exit can be ignored. determine the volumetric flow rate at the exit, in m3/s, and the compressor power, in kw.
Answers: 1
question
Engineering, 04.07.2019 18:10
The thermal expansion or contraction of a given metal is a function of the f a)-density b)-initial temperature c)- temperature difference d)- linear coefficient of thermal expansion e)- final temperature f)- original length
Answers: 2
question
Engineering, 04.07.2019 18:10
Which of the following refers to refers to how well the control system responds to sudden changes in the system. a)-transient regulation b)- distributed regulation c)-constant regulation d)-steady-state regulation
Answers: 1
You know the right answer?
In this project you will be programming toward a solution of a problem using decision making blocks...
Questions
question
Mathematics, 03.06.2021 01:00
question
Mathematics, 03.06.2021 01:00
question
Business, 03.06.2021 01:00
question
English, 03.06.2021 01:00
question
Mathematics, 03.06.2021 01:00
Questions on the website: 13722360