Do you want arbitrary length or fixed length of number ?
Your loop stop due to 8² + 9² = 145 arbitrary length
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 10 of 10
Thread: Squared Digit LengthThreaded View
|
Click Here to Expand Forum to Full Width |