Question: c + + Ask the user for two integers ( up to 1 0 0 digits ) , compute, and print their sum. Hint: -

c++
Ask the user for two integers (up to 100 digits), compute,
and print their sum.
Hint:
- use two strings to hold each operand
- Think about how to access each character and get its
numerical value (check the ascii table for the ascii values of
the digits 0 to 9)
- Think about the algorithmic way to add two numbers:
Ex: how would you step by step solve 111
+99
What variables do you need to hold specific data?
Are there any tasks being repeated?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!