Bahria University, Lahore CampusDepartment of Computer ScienceLab Journal 11 (Spring 2020)Course:Computer Programming LabDate: _______________Course Code:CSL-113Max Marks: 20Faculty’s Name:Lab Engineer: Tayyab Mir Name: _____________________ Enroll No: ___________________ Class: ______________Objective(s):To Understand about: 1.Apply Arrays in C++2.Use of Two and Three Dimensional ArrayLab Tasks:**Providesolution ofeach taskandscreenshotof outputat the endof thattask**Task 1Write aprogram toperformmatrixmultiplication of m x n matrix.
Enrollment Number: ____________________________Given the condition if number of rows of first matrix equal to the number of rows of the second matrix.< Solution and output of Task 1 >CODE:#include<iostream>usingnamespacestd;//03-134192-065intmain(){inta[20][20],b[20][20],c[20][20],row1=0,col1=0,row2=0,col2=0;cout<<"Enter number of rows and columns of matrix A : "<<endl;cin>>row1>>col1;cout<<"Enter number of rows and columns of matrix B : "<<endl;cin>>row2>>col2;while(row1!=row2){cout<<"NO of row of 1st matrix not equal to row of 2nd matrix "<<endl;cout<<"Enter number of rows and columns of matrix A : "<<endl;cin>>row1>>