Posts

Showing posts with the label Write a Program to perform array multiplication( C programming)

Q.Write a Program to perform array multiplication( C programming).

Image
Array Multiplication: Solution: #include < conio.h > #include < stdio.h > void main () {     int a[25][25],b[25][25],c[25][25],i,j,m,n,o,k;     clrscr();     printf ("\n Enter row & column in A: \n");         scanf("%d\n%d",&m,&n);     printf ("\n Enter the column value in B: \n");         scanf("%d",&o);     printf ("\ nEnter %d*%d value of A \n",m,n);     for (i=0; i< m; i++)         for (j=0; j< n; j++)             scanf("%d",&a[i][j]);     printf ("\n Enter %d*%d value of B \n",n,o);     for (i=0; i< n; i++)         for (j=0; j< o; j++)             scanf("%d",&b[i][j]);     printf ("\n A value...