Fill This Form To Receive Instant Help
Homework answers / question archive / Need to understand how to write a program that can determine which, if any, of the following properties a binary matrix exhibits: symmetric anti-symmetric asymmetric (from the textbook) reflexive or anti-reflexive (or neither of course) Program Requirements: Hard code at least 4 binary matrices all of size 4x4
Need to understand how to write a program that can determine which, if any, of the following properties a binary matrix exhibits:
Program Requirements:
Hard code at least 4 binary matrices all of size 4x4. Display each binary matrix and the the properties it exhibits.
For example:
A = 0 1 0 0
0 0 0 0
0 0 0 0
0 0 0 0
A - anti-reflexive, anti-symmetric, asymmetric
B = 1 1 1 0
1 0 0 0
1 0 0 0
0 0 0 0
B - symmetric
C = 1 1 0 1
1 0 1 1
1 0 1 1
0 1 1 0
C - none
and so on for at least 4 binary matrices
Additional Requirements: