From 086775d334dbe3192b34dc0b80df68cc076677de Mon Sep 17 00:00:00 2001 From: Tiyasha Samanta <83566090+ts4475@users.noreply.github.com> Date: Sat, 2 Oct 2021 19:50:38 +0530 Subject: [PATCH] Add files via upload --- Code/Matrix Multiplication.cpp | 53 ++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 Code/Matrix Multiplication.cpp 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