Question: 2. Write a program to take the input of amount in Dollars, and then display the total number of $10, $1, $ 5, 50 cents,
2. Write a program to take the input of amount in Dollars, and then display the total number of $10, $1, $ 5, 50 cents, quarter, dime, and pennies which make up the total amount.(On Python Idle) For example : amount=157.86 $ 10 =15 $ 5 =1 $ 1 =2 50 cents =1 Quarters= 1 Dime=1 Penny=1
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
