Hi,everyone
I'm tring to solve this problem ,but i have no idea how to break the number up into chunks of 3 digits and compute the text of a three digit chunk……Just help me! Thanks!
Hi,everyone
I'm tring to solve this problem ,but i have no idea how to break the number up into chunks of 3 digits and compute the text of a three digit chunk……Just help me! Thanks!
who can help me ?
"Imagine trying to come up with an algorithm for a program that displayed the English
name for a number (example: 1204, one thousand, two hundred four). "
How to work it out?
Start with non-negative numbers less ten, then expand it to work with numbers less than a hundred, then numbers less than a thousand.Quote:
Originally Posted by just_rookie
Thank you! Please post your code ,and i think i will learn something form your code !Thank you again!
How about you posting your code where you are trying to solve your problem. You will learn much more by writing the code yourself than by "looking" at someone else's code. If you don't understand something then ask specific questions. Hopefully if the book is giving you a problem to solve it has already explained the basics of solving the problem.
Jim