Question
I am currently writing some code that requires me to multiply two matrices, which obviously is not working. It does not come out to be
I am currently writing some code that requires me to multiply two matrices, which obviously is not working. It does not come out to be what it needs to be. If someone could please change the code with the multiplication section, I would appreciate it very much. I have attached a screenshot of the code pertaining to the multiplication section as well as a link to the code as a whole. Thank you!
The code works if you multiply matrices with the same dimensions, but I need it to also multiply them with different dimensions as long as row1 = column2.
https://onlinegdb.com/H1vg7vsXU
53 // Multiplication Method 54 void mul(int matrix1[][10], int matrix2[][10], int matrix3[][10], int rowl, int column1, int row 55 { for (int i = 0; i > row1; cout > column1; if (row1 > 10 && column1 > 10) 166 I cout > row2; cout > column2; if (row2 > 10 && column2 > 10) coutStep by Step Solution
There are 3 Steps involved in it
Step: 1

Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2

Step: 3

Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started