I am not good at programming, my teacher gave me to write a program and i have to finish it in 2 days. Here is the program which i have to write
Write a program to determine the sum Z=X+Y and the difference Z=X-Y, where X, Y are n-digit integer decimal numbers and n<=100.
When I asked how to do that he explained me and he helped me little. Here is what he wrote. Ofcourse they are only clues about the way.
for(int i=0; i<nmax; i++)
z[i] = X[i]+ Y[i] + c;
Can anyone help me about that program?