Question: 1. Write a Java program to take the input of amount in Dollars, and then display the total number of $10, $1, $ 5, 50

1. Write a Java 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. 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 blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!