/*
Enter matrix1: 1 2 3 4 5 6 7 8 9
Enter matrix2: 0 2 4 1 4.5 2.2 1.1 4.3 5.2
The mattrices are multiplied as follows:
5.3 23.9 24.0
11.6 56.3 58.2
17.9 88.7 92.4
*/
import java.util.Scanner;
public class MultMatrix {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
int i, j, k;
final int ROW = 3;
final int COLUMN = 3;
double[][] a =
Introduction to Java Programming编程题7.6<两个矩阵相乘>
最新推荐文章于 2023-06-19 20:32:43 发布