Ex: Write a C program to find total number of notes in given amount. How to write a C program to print total number of notes in given amount. C program to print total number of notes in given amount.
Input from user:
Enter the amount: 2528
Expected output:
500=5
100=0
50=0
20=1
10=0
5=1
2=1
1=1
Input from user:
Enter the amount: 2528
Expected output:
500=5
100=0
50=0
20=1
10=0
5=1
2=1
1=1