How do you find the dot product of 2 matrixes with:

matrix 1 has arbitrary rows and arbitrary columns- user will input rows and columns, same for matrix 2 (to multiply, rows of matrix 1 must be the columns size of matrix 2 and column size of matrix1 must be the row size of matrix 2- example:matrix1[3][4], matrix2[4][3]). The results should be returned in a new matrix 3. Matrix3 should be printed in the form matrix3[3][4]. I get lost in the for loops.

0