+ 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
3 odpowiedzi
+ 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
+ 1
thanks @toriq
+ 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.