Quote Originally Posted by waxydock View Post
isnt that what my code is doing?? please check it for me and see if thats what you mean.


This is really urgent, if someone could please tell me where to fix this .. it would be great.
I'm afraid you've lost a lot of your "audience", WD. I certainly feel like I have little idea WTF this program is supposed to be doing. You don't give any sample input, or show output from your program, or specifiy EXACTLY how that output is not what you need, etc.

I suggest you scale it down in size to 10 digits, and get the logic right for ten digits. THEN jump it up to 1000 digits, again.

This is not that difficult, but YOU need to be testing your program and finding out where it's going astray (if at all), not us.

Adak