/code/
double A[5][5];
int columnsA = 3;
int rowsA = 3;
void setmatrix(double MA[5][5])
{
int i;
int j;
printf("please enter matrix %f: \n");
for(i=o; i<=row; i++)
{
for(j=0; j<=column; j++)
{
printf("Row %d, Column %d: ", i+1, j+1);
scanf("%lf ", &A[i][j]);
}
}
/code/
this is before int main(void)
I want to display matrix A [1,0,0]
[0,1,0]
[0,0,1]
this is the default matrix (displaymatrix())
how would I add and mulitply matrix A and a MatrixB (entered by user)