n = in.nextInt();int[][] a = new int[m][n];//存储转置前的矩阵int[][] b = new int[n][m];//存储转置后的矩阵System.out.println("请输入" + m + " * " + n + "矩阵中的所有元素");for (i = 0; i < m; i++) {for (j = 0; j < n; j++) {a[i][j...