#include #include int isInteger(int n) { if (n <= 0) { return 0; } return 1; } main() { printf("cau A\n"); while(1){ int n1; printf("nhap so nguyen duong n:")d; scanf("%d",&n1); if(isInteger(n1)){ printf("n la so nguyen duong\n"); break; } else { printf("n khong phai la so nguyen duong. Nhap lai\n"); } } printf("cau B\n"); int a[50][50]; int b[50][50]; int c[50][50]; int d[50][50]; int i,j,m,n; printf("nhap so hang n="); scanf("%d",&n); printf("nhap so cot m="); scanf("%d",&m); printf("nhap ma tran A\n"); printf("nhap vao ma tran:\n"); for(i=0;i 0){ printf("%d ",a[i][j]); } else { printf(" "); } } printf("\n"); } printf("cau E\n"); for(i=0;i maxA){ maxA = a[i][0]; } } printf("so lon nhat trong cot cua ma tran A la: %d\n", maxA); printf("cau G\n"); int minB = b[0][0]; for(i=0;i