This is Java program of add two matrices #Test Program for example use these datas Enter the number of rows: 2 Enter the number of columns: 2
Enter elements of the first matrix: Element [0][0]: 1 Element [0][1]: 2 Element [1][0]: 2 Element [1][1]: 1
Enter elements of the second matrix: Element [0][0]: 2 Element [0][1]: 1 Element [1][0]: 3 Element [1][1]: 2
Sum of the two matrices: 3 3 5 3