void afismat(int a[][100], int n, int m) { for (int i = 0; i < n; i++) { for (int j = 0; j < m; j++) cout << a[i][j] << " "; cout << "\n"; } }