Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

First two print is asking the row and column of 2 matrix that you will use to mutiply later.

These two
matrices size will be use the position of user given number.

The First 2 FOR loop indicates that asking the value for its first matrix in placement in row and column
also the Second 2 FOR loop asking value in second matrix in placement also in row and column. This will
be the storage of the number given by the user.
This third loop which consist of 3 FOR loops is use to mutiply 2 matrix to its result in example to the
book will be run and show it in photo. The last loop prints the result of mutiplying two matrices and it is
also makes the structure in matrix mode.

You might also like