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, 04.07.2019 18:10
If a particle moves along a path such that r : (3 sin t) m and ? : 2t rad, where t is in seconds. what is the particle's acceleration in m/s in 4 seconds? a)- 16.43 b)- 16.29 c)- 15.21 d)- 13.79
Answers: 1
question
Engineering, 04.07.2019 18:10
Thermal stresses are developed in a metal when its a) initial temperature is changed b) final temperature is changed c) density is changed d) thermal deformation is prevented e) expansion is prevented f) contraction is prevented
Answers: 2
question
Engineering, 04.07.2019 18:10
Slip occurs via two partial dislocations because of (a) the shorter path of the partial dislocation lines; (b) the lower energy state through partial dislocations; (c) the charge balance.
Answers: 1
question
Engineering, 04.07.2019 18:20
What is the heat treatment of metals? what is the benefit of it? why and how it's useful? answer in details, do not write by hand.
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, 27.09.2020 14:01
question
Spanish, 27.09.2020 14:01
question
Mathematics, 27.09.2020 14:01
question
English, 27.09.2020 14:01
Questions on the website: 13722359