write a program for addition of two matrix in scanner
Answers
Answered by
2
Answer:
We can add two matrices in java using binary + operator. A matrix is also known as array of arrays. We can add, subtract and multiply matrices.
Add two matrices in Java
To subtract two matrices, use - operator. Let's see a simple example to add two matrices of 3 rows and 3 columns.
Similar questions