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

2

u/nottoobadguy Feb 16 '12

this challenge was actually created by our mod rya11111. I'm not sure where he got it, so it's very possible :)