Closed harshraj8843 closed 2 years ago
@harshraj8843 What kind of input were you expecting? Six lines of space-separated ints? Or should there be a Sys out like:
Enter first matrix...
Line 1:
Line 2:
Line 3:
?
@harshraj8843 What kind of input were you expecting? Six lines of space-separated ints? Or should there be a Sys out like:
Enter first matrix... Line 1: Line 2: Line 3:
?
Well, in this case input is complex. So, we can use static input (hard coded variables)
@harshraj8843 What kind of input were you expecting? Six lines of space-separated ints? Or should there be a Sys out like:
Enter first matrix... Line 1: Line 2: Line 3:
?
Well, in this case input is complex. So, we can use static input (hard coded variables)
I see. 👍 Is there supposed to be a multiplier as well?
Is there supposed to be a multiplier as well?
Yes
I've got a method ready for this one, just need to clean up output. Assuming you want the first two arrays/matrices printed along with result?
Title of article
Write a Java program to print multiplication of 2 matrices.
Additional information
First matrix
Second matrix
Product matrix
Code of Conduct