1. Member
Join Date
Sep 2008
Posts
2
Rep Power
0

## Integer to String

the program output is Banking:

Monetary breakdown
1000= 15
500= 0
200= 1
100= 1
50= 0
20= 0
10= 0
5= 0
1= 2

I need to convert the input amount into words...
I already did the breakdown, i just need to conver it to words..
Can anyone help me on this problem..? Need to finish this program badly..
:( :(

2. Seems you have to build a well formed algorithm for this. As a hint, start from the last digit, I mean the right most digit. Read the value and check there is another digit in the left hand side.

3. Member
Join Date
Sep 2008
Posts
2
Rep Power
0
Actually, we are using readline for this.
And he said that we must use a swtich statement, but he said that we must first do a formula how the execution goes on converting the int to chararcter.
The maximum input was 1million only.
Can you give me formula o how do i convert it to words, i already use the case statement, but it will took so long before i made it.We also use a readstring in this program.

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•