Write a program that generates two 3x3 matrices, A and B, withrandom values in t
ID: 3615432 • Letter: W
Question
Write a program that generates two 3x3 matrices, A and B, withrandom values in the range [1, 10] and calculates the values ofanother 3x3 matrix C as C=AB, the matrix multiplication of A and B,by calling the function matrixMultiplication.
Example:
Thisprogram generates two 3x3 matrices of random elements in the range[1, 10] and calculates their matrix multiplication.
Array A:
3 7 4
7 1 2
6 4 2
Array B:
1 1 10
4 6 6
8 10 10
C =AB:
63 85 112
27 33 96
38 50 104