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 the use 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_x000D_
Enter the change amount as integer:45_x000D_
Enter the change amount as integer:-45_x000D_
Enter the change amount as integer:100_x000D_
Enter the change amount as integer:125_x000D_
23.1.1: PROJECT 1 : Finding the Exact change using Decision Making blocks
0 / 100
Load default template…
print(“This program asks the user to enter a change amount using integers only,”)
print(“and outputs the change using the fewest coins.”)
input_val = int(input(“Enter the change amount as integer:”))
”’ Type your code here. ”’
“Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!”