Tagged Questions
19
votes
3answers
741 views
Convert any number to corresponding word
This is a wild one: can anyone write a code that converts a number into the corresponding word? e.g.:
4 -> 'four'
31 -> 'thirty-one'
and so on. Obviously, it is not enough to build an array ...