Java Practice Exercise – Matrix

  • Addition, subtraction and multiplication of matrices.
  • Transpose of a matrix.
  • Biggest and smallest element in a matrix.
  • Sum of all elements in a matrix.
  • Sum of diagonal elements of a matrix.
  • Sort the elements of a matrix.
  • Read an N x N matrix. Check if the last element of each row is the sum of the all other elements in that row.