+ 1
Make a programme to display the sum of diagonal elements of an n*n array.
Challenge
7 ответов
+ 4
Easy one with Python
https://code.sololearn.com/cK3f5iaVQ8hb/?ref=app
+ 4
well yes u can see the above code
+ 4
i modified the code for both diagonals. logic is pretty much the same though.
+ 3
left or right diagonal??
+ 1
example?
0
Both the diagonals