r/dailyprogrammer • • Feb 16 '12

[2/16/2012] Challenge #8 [intermediate]

Write a program that will print the english name of a value. for example, "1211" would become "one-thousand, two hundred, eleven".

for extra credit, allow it to read the english value of a number and output the integer.

input: one-hundred, four output: 104

11 Upvotes

19 comments sorted by

View all comments

Show parent comment

1

u/electric_machinery Feb 17 '12

Thanks for the comment! I have some things to do today but I might fix it. Actually I'm between jobs so I have nothing at all to do today :)