Problem Statement The user enters an integer between 0 and 1,000,000 inclusive. The output should be the number in words. Example: Input: 14563 Output: Fourteen thousand five hundred and sixty three.
#To Run
javac NumberToTextConverter.java
java NumberToTextConverter
Enter a number [0,1000000] to convert in text/word:
14563
fourteen thousand, five hundred and sixty-three