Enter size of matrix as Rows X Columns.

Matrix A:

 X 



Created by Puneet Kumar Saini, Check complete post here.

Matrix B:

 X