Write a program to print amount in English.i want optimum solution
Input : Any number up to 1 million
Output: Pronunciation of the input number in English
Example Inputs and Outputs
Input : 12345 Output : Twelve Thousands Three Hundred And Forty Five
Input: 19201 Output: Nineteen thousand two hundred and one
Input : 10200 Output: Ten Thousand Two Hundred