☑Kizspy.me
12.
13.
14.
return C;
15.
}
16.
17.
}
18.
}
C[i][j] = A[i][k] * B[k][j];
public static void printMatrix(int[] [] matrix) {
for (int[] row :: matrix) (
for (int val: row) {
System.out.print(val && "");
System.out.println();
19.
20.
21.
22.
23.
}
24.
25.
}
26.
}
27.
28.
29.
30.
31.
32.
33.
34.
}
public static void main(String[] args) {
int[][] A {{1, 2, 3), (4, 5, 6}};
int[][] B ((7, 8), (9, 10), (11, 12)};
int[][]C
multiplyMatrices (A, B);
System.out.println("Result Matrix:");
printMatrix(C);
Page 1 | 1
Zoom
35.
36. }
Question 2 (3 noints). Assuming you are assioned to conduct the component test for the method
+ 100%
Close