Link to home
Start Free TrialLog in
Avatar of hipopynonamous
hipopynonamous

asked on

Sum Of two positive integers!

Write a program to compute the sum of two positive integer numbers.  Each number is up to 20 digits.  Do not use any REAL or LONGINT types in the program.

Must use stacks, digits must be read in one-by-one.  For example 2345678 + 9999999999, must be read in 2, then 3, then 4, and so on.  if sum of two digits is greater than 9, u must carry it over, so the next part can use it.
Avatar of kellyjj
kellyjj

We can't do your homework for you.  Try it yourself, and then post the code you are having probs w/.
ASKER CERTIFIED SOLUTION
Avatar of Alisher_N
Alisher_N

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial