× Home
Next Lec → ← Previous Lec

Matrix Multiplication Exercise

We have to do Matrix Multiplication
ask user no. of rows and columns first matrix and then second matrix.
as we know that two matrix can only be multiplied if the number of columns in the 1st matrix is equal to the rows in the 2nd matrix.
tell user if their matrix can be multiplied or not