Write a java program to count total number of notes in entered amount using loop
belongs to collection: Loop programs in Java with an examples
All Answers
total answers (1)
belongs to collection: Loop programs in Java with an examples
total answers (1)
In this demo I have used NetBeans IDE 8.2 for debugging purpose. But you can use any java programming language compiler as per your availability..
Result:
Enter any Amount : 5015
Rs OMINATIONS :
1000 X 5 = 5000
10 X 1 = 10
5 X 1 = 5
--------------------------------------------------
TOTAL = 5015
--------------------------------------------------
Total Number of Notes = 7