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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!