/MatrixSum

JAVA implementation of a class that performs sum operations on a matrix.

Primary LanguageJava

MatrixSum

JAVA implementation of a class that performs sum operations on a matrix.

@author Andrew Parise andrew_parise@students.ocean.edu @version 1.0 @since 2016-01-25

Assignment 1.2

Description: Write a Java program to create a 4-by-4 matrix with the following values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, and 16. Your program must read from the matrix and display the sum of the elements in the matrix. The program must then display the sum of each row, each column, and the diagonal elements of the matrix.