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 14:10
Line joining liquid phase with liquid and solid phase mixture is known as: a) liquidus b) solidus c) tie line d) none of the mentioned
Answers: 2
question
Engineering, 04.07.2019 18:10
Acompressor receives the shaft work to decrease the pressure of the fluid. a)- true b)- false
Answers: 3
question
Engineering, 04.07.2019 18:20
Aheavily insulated piston-cylinder device contains 0.02 m3 of steam at 300 kpa and 200 Β°c. 1.2 mpa. d this process. team is now compressed in a reversible manner to a pressure of etermine the entropy change and the work done on the steam during this process
Answers: 1
question
Engineering, 04.07.2019 19:10
Air inially occupying a volume of 1 m2 at 100 kpa, 27 c undergoes three internally reversible processes in series. process 1-2 compression to 500 kpa during which pv constant process 2-3 adiabatic expanslon to 100 kpa process 3-1: constant-pressure expansion to 100 kpa (a) calculate the change of entropy for each of the three processes. (b) calculate the heat and work involved in each process. (c) is this cycle a power cycle or refrigeration cycle?
Answers: 3
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, 23.02.2020 00:24
question
Mathematics, 23.02.2020 00:25
question
Mathematics, 23.02.2020 00:25
question
Social Studies, 23.02.2020 00:25
Questions on the website: 13722363