I don't see a program, therefore there's nothing to help with.
WaltP
Posting Sage w/ dash of thyme
10,506 posts since May 2006
Reputation Points: 3,348
Solved Threads: 944
When I was in high school I vaguely remember doing some type of Big Integer case study for the AP Computer Science exam. The case study was universal for the test given that year, so if you Google it, you should be able to find something about it.
cscgal
The Queen of DaniWeb
19,423 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 230
Take number as string. Also long int, long long etc etc may take number till 10 digits.
vishesh
Nearly a Posting Virtuoso
1,381 posts since Oct 2006
Reputation Points: 85
Solved Threads: 42
No use link list to represent as big numbers as you want.
ithelp
Nearly a Posting Maven
2,230 posts since May 2006
Reputation Points: 769
Solved Threads: 128
Take number as string. Also long int, long long etc etc may take number till 10 digits.
long int (on most 32 bit systems, anyway) will not take full range of 10 digit numbers, as it's allocated just 4 bytes.
long long int will be sufficient, handling full range of 19 digits, plus some of the 20th.
Val
vmanes
Posting Virtuoso
1,914 posts since Aug 2007
Reputation Points: 1,268
Solved Threads: 228