Question: Big sum problem in C PROGRAMMING You will implement the big sum arithmetic supported in the scientific calculator Input: Large size two integers at most
Big sum problem in C PROGRAMMING
You will implement the big sum arithmetic supported in the scientific calculator
Input: Large size two integers at most 20 digits long.
Output: Sum of the two integers.
Hint: Declare two integer type of array of size a[20], b[20] and assign / initialize them with input.
Declare array of size c[22] for storing the output. Next, write a for loop and start adding from the least
significant digits of a and b and assign the results back to c. Define a separate function that accepts three
arguments as a,b,c and implement the big sum arithmetic inside the function. You need to call that function
from the main function and print the result in the main function. (e.g. use the pointer concept)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
