ii) Mr. Sameer carries certain amount of money while going to the market, in multiples of currencies of
the following denominations i.e. 2000, 500, 100, 10 and 1 ( in descending order of possibility ). Write a
program to accept the amount of money being carried by Mr.Sameer and display the number of
currencies of each denomination being carried by him as output in the following manner shown below.
(Rs.) 5987
Example: If INPUT
OUTPUT
2
4000
2000 X
500
3
1500
4
400
100
50
1
50
3
30
1
7
2
TOTAL
5987
Answers
Answered by
1
Answer:
what is your question my dear
Similar questions