Write a shell script for multiplying 2 matrices and printing the resultantmatrix. Here youneed to represent a 2-dimensional matrix using a 1-dimensional array code example
Example: how to do matrix multiplication in c
double[][] c = new double[N][N];
for (int i = 0; i < N; i++)
{
for (int j = 0; j < N; j++)
{
for (int k = 0; k < N; k++)
{
c[i][j] += a[i][k] * b[k][j];
}
}
}