Question: solve using Python please Write a program with total change amount as an integer input that outputs the change using the fewest coins, one coin
Write a program with total change amount as an integer input that outputs 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 approprlate, Ike 1 periny vs. 2 pennies. Ex. If the input is: or less, the output is: Ex. If the input is: 45 the output is: 1 quarter 2 dines Your program must define and call the following function. The function exact change0 should retum num_dollars, num quarters. num_dimes, num_nickels, and num_pennies def exact_change(user_total) Activir 5.19.1:LAB : Exact change-functions main.py Lood default template
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
