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

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 developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.