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

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 40121

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>