Question: Write a C program that can add very large numbers, that cannot necessarily fit into these standard types Input The input must be read from

Write a C program that can add very large numbers, that cannot necessarily fit into these standard types Input The input must be read from the standard input and each line of input is presented in the following format: atb- where a and b are integers of length up to 100 decimal digits. You can assume that there are no whitespace characters in a line, other than the newline character at the end. The end of input is the end of standard input, which you can detect by the return value of the scanf or getchar function, whichever you use. Output For each line of input, your program must print two lines of output to the standard output. The first line must be simply the repetition of the input line, and the second line must contan the result of adding two numbers in the input line. Sample input and output are given below: Sample Input 123+456- 9999999999999999999999999999+1579 Sample Output 123+456- 9999999999999999999999999999+1- 10000000000000000000000000000
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
