Algo-Tree icon indicating copy to clipboard operation
Algo-Tree copied to clipboard

The 2D array multiplication always returns a 0 matrix

Open adrian-234 opened this issue 4 months ago • 2 comments

Multiplication of two Matrices

A 2D Array is Used for Matrix, 1st Matrix size is taken first then 1st Matrix is taken Then, 2st Matrix size is taken first then 2st Matrix is taken After That if no of columns of 1st Matrix is equal to no of rows of 2nd Matrix Then, Valid Multiplication is Made Otherwise Returns "Invalid Size of Matrix"

Describe the Corrections which are required

  • On line 48 the sum value should be inserted into the 2D array called mul instead of the array called twoDarr1.

Correction / Bug File : Multiplication of two Matrices

Language: Java

adrian-234 avatar Dec 08 '25 13:12 adrian-234

Hi 😄, @adrian-234 Thanks for creating issue at AlgoTree, do read and follow the Code of Conduct and the Contribution Guidelines while contributing. Refer to PR's which has been merged earlier in AlgoTree Click Here Like, How many File they have changed?, Which type of files need to be change? and many more.

github-actions[bot] avatar Dec 08 '25 13:12 github-actions[bot]

Hi 😄, thanks for creating issue at AlgoTree, do read and follow the Code of Conduct and the Contribution Guidelines while contributing.

github-actions[bot] avatar Dec 08 '25 13:12 github-actions[bot]