Engineering
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.

answer
Answers: 1

Other questions on the subject: Engineering

image
Engineering, 04.07.2019 18:10, abdirahmansoloman
Air is to be cooled in the evaporator section of a refrigerator by passing it over a bank of 0.8-cm-outer-diameter and 0.4-m-long tubes inside which the refrigerant is evaporating at -20°c. air approaches the tube bank in the normal direction at 0°c and 1 atm with a mean velocity of 4 m/s. the tubes are arranged in-line with longitudinal and transverse pitches of sl- st 1.5 cm. there are 30 rows in the flow direction with 15 tubes in each row. determine (a) the refrigeration capacity of this system and (b) pressure drop across the tube bank. evaluate the air properties at an assumed mean temperature of -5°c and 1 atm. is this a good assumption?
Answers: 1
image
Engineering, 04.07.2019 18:10, niyawilliams23
Asingle-geared blanking press has a stroke of 200 mm and a rated capacity of 320 kn. a cam driven ram is assumed to be capable of delivering the full press load at constant force during the last 15 percent of a constant-velocity stroke. the camshaft has an average speed of 90 rev/min and is geared to the flywheel shaft at a 6: 1 ratio. the total work done is to include an allowance of 16 percent for friction a) estimate the maximum energy fluctuation b) find the rim weight for an effective diameter of 1.2 m and a coefficient of speed fluctuation of 0.10
Answers: 1
image
Engineering, 04.07.2019 18:10, keigleyhannah30
Aplate clutch has a single pair of mating friction surfaces 250-mm od by 175-mm id. the mean value of the coefficient of friction is 0.30, and the actuating force is 4 kn. a) find the maximum pressure and the torque capacity using the uniform-wear model. b) find the maximum pressure and the torque capacity using the uniform-pressure model.
Answers: 3
image
Engineering, 04.07.2019 18:10, selenamr
Ifa component is made of two or more materials with different modulus of elasticity (e), it is called a composite member and we calculate the factor·n". mention the formula for calculating n". also, ifn> 1, explain what will happen to the 1. transformed. gi) ifn 1, what will happen to the material when transformed material when
Answers: 1
Do you know the correct answer?
In this project you will be programming toward a solution of a problem using decision making blocks...

Questions in other subjects:

Konu
Mathematics, 11.03.2021 17:30
Konu
Mathematics, 11.03.2021 17:30
Konu
Mathematics, 11.03.2021 17:30
Konu
Mathematics, 11.03.2021 17:30
Konu
Mathematics, 11.03.2021 17:30