# Thread: solution：jumping into c++ chapter 7 exercise 1 (turn numbers into English text)

1. ## solution：jumping into c++ chapter 7 exercise 1 (turn numbers into English text)

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! 2. 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? 3. Originally Posted by just_rookie
"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. 4. Thank you! Please post your code ,and i think i will learn something form your code !Thank you again! 5. Originally Posted by laserlight Start with non-negative numbers less ten, then expand it to work with numbers less than a hundred, then numbers less than a thousand.
Thank you! Please post your code ,and i think i will learn something form your code !Thank you again! 6. 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 7. Originally Posted by jimblumberg 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
Thank you very much!You taught me a very important lesson! Popular pages Recent additions 