Quantcast
Channel: CodeChef Discuss - latest questions
Viewing all articles
Browse latest Browse all 39796

Java program number to english conversion

$
0
0

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


Viewing all articles
Browse latest Browse all 39796

Trending Articles