Note: (Restricted functionality due to obvious reasons!)

For Mobile-Ease ⇓

Minimal Code ( Raw-View ) :
#include<iostream.h> #include<conio.h> void main() { int m,n,o,i,j; int a[10][10], b[10][10]; cout<<"Enter number of rows for Ist Matrix : "; cin>>m; cout<<"Enter no. of columns of Ist Mtrx (= columns of IInd Mtrx) : "; cin>>n; cout<<"Enter no. of columns for IInd Mtrx : "; cin>>o; cout<<"Enter first Matrix : "<<endl; for(i=1; i<=m; i++) { for(j=1; j<=n; j++) { cin>>a[i][j]; } } cout<<"Enter Second Matrix : "<<endl; for(i=1; i<=n; i++) { for(j=1; j<=o; j++) { cin>>b[i][j]; } } cout<<"The product of two Matrices is : "<<endl; int c[10][10]; for(i=1; i<=m; i++) { for(j=1; j<=o; j++) { for(n=1; n<=n; n++) { c[i][j]=(a[i][j+n-1]* b[i+n-1][j]); }cout<<c[i][j]; } } }