there's a small modification in the toString() method, look where is says if(d3 != 0). The 1st code was not printing teen numbers correctly, it was printing "fifteenfive" for 15. I fixed that in the...
Type: Posts; User: mia_tech
there's a small modification in the toString() method, look where is says if(d3 != 0). The 1st code was not printing teen numbers correctly, it was printing "fifteenfive" for 15. I fixed that in the...
Well, the program convert numbers from 1 to 9999 into words , I'm almost done with the exception of two numbers that I'm having problem printing... look at the bottom of post for errors.
By the way...
guys, I wrote this program that converts numbers to words eq: 4914 to "four thousand and nine hundred and fourteen"; however, I'm having problems with the toString method. Is not printing correctly...