I am trying to write a program to add big numbers using char data. I need help getting this completed.
char k; int num1, num2, sum; ifstream inData; inData.open("bignums.dat"); inData.get(k);
I need to read in the first number:
I need to right justify the first number to the end of the array:
I need to read in the second number:
I need to right justify the second number to the end of the array:
I need to add the first number and the second number using a carry and print out the answer right justified:
Can anyone help?