import java.util.Scanner;
public class juzhen {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
System.out.print("请输入第一个矩阵的二维数据:");
int n1 = in.nextInt();
int m1 = in.nextInt();
int[][] a = new int[n1][m1];
for (int i = 0; i < n1; i++) { // 循环输入第一个矩阵
for (int j = 0; j < m1; j++) {
a[i][j] = in.nextInt();
}
}
System.out.print("请输入第二个矩阵的二维数据:");
int n2 = in.nextInt();
int m2 = in.nextInt();
int[][] b = new int[n2][m2];
for (int i = 0; i < n2; i++) { // 循环输入第二个矩阵
for (int j = 0; j < m2; j++) {
b[i][j] = in.nextInt();
}
}
System.out.print("输出矩阵相乘后的矩阵:" + "\n");
for (int[] h :
10-19