Showing all posts tagged "Understand Principal Diagonal"
DIAGONAL ELEMENTS
Consider a matrix and print principal diagonal and opposite diagonal from the given matrix.
Principal Diagonal:
Condition is if row number is equal to column number ,then it is principal diagonal.
123451102030405021112131415321222324254313233343554142...
Posted on February 19th, 2019