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.Originally Posted by just_rookie
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
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