954,545 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

please please help me!

HI im a student and our professor asked us to convert a number into word:

example:
input= "1"
output="one"

i need to have numbers from 1-10,001
so my program will end up very long if i only use if else statement i know that there are other methods other than this please help me thank you

Ms New to Java
Junior Poster
135 posts since Jan 2012
Reputation Points: 10
Solved Threads: 1
 

HI im a student and our professor asked us to convert a number into word:

example: input= "1" output="one"

i need to have numbers from 1-10,001 so my program will end up very long if i only use if else statement i know that there are other methods other than this please help me thank you


Don't make a duplicate thread

zeroliken
Veteran Poster
1,106 posts since Nov 2011
Reputation Points: 201
Solved Threads: 162
 

Thread closed as it is double of this thread

peter_budo
Code tags enforcer
Moderator
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: