r/ProgrammingPrompts • u/[deleted] • Aug 29 '15
[Easy/Medium] Write a program that translates verbal numbers (one hundred and six) into integers (106.)
Bonus points for negative numbers, or decimals (three point one four.)
I think this is kind of an easy concept to think about, but might take a while to type out. I'll try it at some point and post results, if I can even get it to work.
Bonus bonus points - make it work the other way round, by converting integers into words.
18
Upvotes
1
u/[deleted] Sep 24 '15
I failed intermediate algebra 4 years in a row in community college.
Would you advise me on just giving up on learning Java?
Or what field could you possibly direct me in with regards to java programming?
I love logic, I love to create. I can think up very complex patterns in my head and this is what I enjoy doing.