diff --git a/Code/Matrix Multiplication.cpp b/Code/Matrix Multiplication.cpp new file mode 100644 index 00000000..2a9858c0 --- /dev/null +++ b/Code/Matrix Multiplication.cpp @@ -0,0 +1,53 @@ +#include +using namespace std; +int main() +{ + int a[10][10],b[10][10],mul[10][10],r,c,i,j,k; + cout<<"Enter the number of rows\n"; + cin>>r; + cout<<"Enter the number of columns\n"; + cin>>c; + cout<<"Enter the first matrix element\n"; + + for(i=0;i>a[i][j]; + } + } + cout<<"Enter the second matrix element\n"; + + for(i=0;i>b[i][j]; + } + } + + cout<<"Multiplication of the matrix :\n"; + + for(i=0;i