int main(int argc, char *argv[]) { nhap(n); printf("%d n: " , n); giaithua(n); tong(n); // xuat(n); getchar(); return 0; }
main() { int a[max][max],b[max][max],c[max][max],ha,ca,hb,cb; printf ("so hang mt a "); scanf("%d",&ha); printf ("nhap so cot mt a "); scanf("%d",&ca); nhap(a,ha,ca); printf ("so hang mt b "); scanf("%d",&hb); printf ("nhap so cot mt b "); scanf("%d",&cb); nhap(b,hb,cb); printf("kq"); tong(a,b,c,ha,ca,cb); getch(); }
void main() { cout<<tong(1,2); cout<<"Thong ngu"; getch(); }