Courses
Courses
Code Compiler
Code Compiler
Discuss
Pricing
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
Matrix diagonals
array
diagonals
java
matrix
0 Votes
3 Answers
16th Sep 2019, 11:33 PM
Alejo Garat
write a function which accepts a 2d array and displays the elements which lie on diagonals
c++
python
ruby
5 Votes
1 Answer
8th Sep 2017, 11:50 AM
Kai
How to calculate number of tiles so we get 81 tiles on right and left diagonals in 2D matrix?
c++
0 Votes
3 Answers
12th Jun 2021, 3:11 AM
TeaserCode
matrix
2d
absolute
array
cpp
diagonals
difference
dynamic
loops
matrix
memory
15 Votes
2 Answers
2nd Jun 2019, 5:01 AM
Night_fury~
A magic square is a 3 by 3 matrix filled with integers in the range [1 - 9] so that each entry in the matrix has a unique value. The sum of each of the rows and each of the columns and each of the two diagonals must be equal to 15.
c++
1 Vote
3 Answers
2nd Aug 2016, 2:14 PM
rahul punjabi
How to print a 3Ă3 matrix in which sum of all rows and columns is 15 including the diagonals and numbers upto 9 can only be used that is we can use only 1-9 without repeating the same number twice and without taking any input from the user.
2d-array
c++
0 Votes
2 Answers
2nd Oct 2016, 8:02 AM
Asim
Ask a question
Ask a question
Ask a question
Ask a question
Hot today
Saturn League badge
2 Votes
Sololearn keeps crashing
1 Votes
SHOULD I LEARN HTML OR PYTHON/JAVA
0 Votes
Lua course?
2 Votes
Why producer consumer not working at all
1 Votes
certificate
1 Votes
Adding an image to my html
0 Votes
CSS
1 Votes
Not able to activate account
0 Votes
About Advanced Courses
0 Votes