reset password
Author Message
Arnav98
Posts: 48
Posted 14:38 Mar 03, 2017 |

Does anyone have any clue how to convert the entered number into its corresponding word form without using arrays or loops ?

kknaur
Posts: 540
Posted 15:03 Mar 03, 2017 |

HINT: You will need to check each digit of the number and depending on the placement of said digit, thousands place, hundreds, and so on you will choose the appropriate word.  Keep in mind there are special cases for numbers like 10 (ten) which should say 10 and not one zero. 

You will need alot of selection statements.