0

How to print a reverse diagonal, of a two-dimensional matrix?

23rd Nov 2017, 2:37 AM
Anthony
2 Respuestas
+ 5
NxN square matrix A: for (i = n - 1; i >= 0; i--) System.out.println(A[i][i]);
23rd Nov 2017, 4:56 AM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar
0
in the cycle that is the n?
23rd Nov 2017, 6:26 PM
Anthony