What is symmetric matrix


Problem:

Symmetric matrix

Question 1- Write a static method which takes a 2-dimensional array of type int, which represents a matrix, as its argument, and returns true if the matrix is symmetric and false otherwise. A matrix is symmetric if the entry at row i and column j is the same as the entry at row j and column i for each i and j. The diagonal entries (i.e. entries with the same row and column) can be any number.

Question 2- Write a driver file to test your method. It should call your method with at least three different inputs.

Please describe the code with the help of comments.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: What is symmetric matrix
Reference No:- TGS0894141

Expected delivery within 24 Hours