i need the help of a turbo C master!!!!...one of my final exam problem in my subject has this problem:
The Department of mathematics has asked you to develop a program to help elementary students check their addition and subtraction computations. The program to be developed will ask the user for 2 numbers (n1 & n2) and displays the sum (n1+n2) and difference (n1-n2). The program stops executing when the user enters 0 for the 1st number.
Notice that the inputs of the user are very large whole numbers. One way to solve this is to use arrays. We assume that the user will enter positive numbers and not having more than 50 digits.
sample output:
1st number: 5281925125243
2nd number:1256972
Addition:
5281925125243
+ 1256972
-------------------------
5281926382215
Subtraction:
5281925125243
- 1256972
-----------------------
5281923868271
-------------------------------------------------------------------------------------
sample output:
1st number: 325124
2nd number:992102513985
Addition:
325124
+ 992102513985
-------------------------
99210284-109
Subtraction:
992102513985
- 325124
-----------------------
992102189861
---------------------------------------------------------------------------
sample output:
1st number: 0
(end of program)