Integer to String
Can anyone please help me about our activity on BlueJ??
the program output is Banking:
Please Enter any amount: 15302
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..
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.
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.