Question: Write a program which takes any amount from the user between (1 to 9999). The program should count the number of currency notes (starting from
Write a program which takes any amount from the user between (1 to 9999).
The program should count the number of currency notes (starting from highest) that will make up the amount. e.g 1234 it should print
1 thousand
2 hundred
3 ten
4 rupee
Note: You may be using / and % operators to separate the digits.
Note: The code should be in C++ and there should be conditional statements of if, else, while.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
