#include #include <stdio.h> void tong(int a[][10],int b[][10],int n,int m); void main() { int a[10][10],b[10][10]; int n,m; int i,j; cout<<"so hang va cot 2 ma tran phai = nhau"<<endl; cout<<"so hang cua 2 ma tran: "; cin>>n; cout<<"so cot cua 2 ma tran: "; cin>>m; for(i=0;i>a[i][j]; } for(i=0;i>b[i][j]; } tong(a,b,n,m); } void tong(int a[][10],int b[][10],int n,int m) { int i,j; int c[10][10]; for(i=0;i0) //cout<<" "<
Related Documents