fork download
  1. #include <stdio.h>
  2.  
  3. int main(){
  4. int row, col;
  5. scanf("%d, %d", &row, &col);
  6. int matriks[row][col];
  7. for (int i = 0; i < row; i++){
  8. for (int j = 0; j < col; j++){
  9. printf("%d", matriks[i][j]);
  10. }
  11. printf("\n");
  12. }
  13. return 0;
  14. }
Success #stdin #stdout 0s 5316KB
stdin
2 3
5 7 6
4 3 2
stdout