Question: python please Exact Change With your programming parther from your study group, write a program to prompt a user for their total change as an
Exact Change With your programming parther from your study group, write a program to prompt a user for their total change as an integer and output the change using the fewest coins, one coin type per line. The coin types are Dollars, Quarters, Dimes. Nickess, and Pennies. Use singular and plurat coin names as appropriate. like 1 Penny vs. 2 Pennies. Do not print the coin type if the amount is 0. Hint: Use / 100 to determine the number of dollars, then %100 to subtract the mumber of dollars. Then use / 25 to determine the number of quarters: then %25 to subtract the number of quarters, etc. Example: If the input is 0 , the output is: No chango. If the input is 26, the output is: 1. Quartor 1. Panny If the input is 155 , the output is: 1 Dollat 2 Quartera 1. Wickel
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
