+ 1

How to make a program that converts numbers to theirs text representation. Example: Input: 1123 Output: one thousand one hun

How to make a convert numbers to text representation

8th May 2017, 6:40 AM
Vandi Handika
Vandi Handika - avatar
3 Respostas
+ 4
see "How To Convert Math Number To Equivalent Readable Word In Java : Code With Example" - http://javahungry.blogspot.com/2014/05/convert-math-number-to-equivalent-readable-word-in-java-code-with-example.html
8th May 2017, 6:57 AM
Toriq Zainuddin
Toriq Zainuddin - avatar
+ 1
thanks @toriq
8th May 2017, 7:01 AM
Vandi Handika
Vandi Handika - avatar
+ 1
split the number into char but let it remain an int. push them into stack and pop each one out. while pushing into stack, have a counter ready.
10th May 2017, 10:03 AM
Krishneel Nair
Krishneel Nair - avatar