Question: JAVA program that asks user to input n, for the size of a matrix and then asks user to input the elements of the n

JAVA program that asks user to input n, for the size of a matrix and then asks user to input the elements of the n x n matrix, then outputs if the matrix is Reflexive or not, Transitive or not, Symmetric or not, Anti Symmetric or not and gives the reasons why it fails each of the four relations. Example, the compiled program should run like this:

Input the size "n" of the n x n matrix:

Input the elements of the n x n matrix:

OUTPUT: The Matrix is Reflexive The Matrix is not Transitive because The Matrix is not Symmetric because The matrix is Anti Symmetric

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!