Code: #include <iostream> using namespace std; int main() { int rows1,columns1,rows2,columns2; cout<<"Enter the rows of first column : "; cin>>rows1; cout<<"Enter the columns of first column : "; cin>>columns1; cout<<"Enter the rows of second column : "; cin>>rows2; cout<<"Enter the columns of second column : "; cin>>columns2; int matrix1[rows1][columns1],matrix2[rows2][columns2]; if (rows2==columns1) { cout<<"Enter the elements of first matrix : "; for (int i=0;i<rows1;i++) { for (int j=0;j<columns1;j++) { cin>>matrix1[i][j]; } } cout<<"Enter the elements of second matrix : "; for (int i=0;i<...
I am Cyber Security student in Air University, Islamabad. I upload different codes and their results of C++ and Bash scripting and some other cyber projects and hacking with its proof. I am innovative of mind and dextrous of hand.

Comments
Post a Comment