WAP a program to enter an amount of money given to you and print number of dominations needed for it.Dominations are available in currency note of 2000,500,200,100,50,20,10,5,2,1.For example
if amount is Rs.2570 then the output should
2000×1=2000
500×1=500
200×0=0
100×0=0
50×1=50
20×1=20
10×0=0
5×0=0
2×0=0
1×0=0
Answers
Answered by
5
plz check...
don't write s.o.pln. better use system.out.println
}
}
(end braces r not clear in the pic)
hope it's OK....
don't write s.o.pln. better use system.out.println
}
}
(end braces r not clear in the pic)
hope it's OK....
Attachments:
Answered by
0
Answer:
Explanation:don't know
Similar questions