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

Recommended Answers

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 …

Jump to Post

All 2 Replies

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

Thread closed as it is double of this thread

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.