0
how make sum of matriks which the ordo inputed by user?
2 Answers
+ 1
how if the matrix have two or more dimention?
0
you have to use arrays to do so
for eg.
a[]={1,2,3,4};
b[]={1,2,3,4};
c[]=new int [4];
for(int I=0;I<=3;I++){
c[I]=a[I]+b[I];
sopln (c[I]);
}