Skip to content

The 2D array multiplication always returns a 0 matrix #2114

@adrian-234

Description

@adrian-234

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions