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
How to allow one instance of exe
1 Votes
Reverse observer pattern : remove dynamic_cast
2 Votes
purchase of a subscription
1 Votes
What has happened?
1 Votes
Theater management help me
2 Votes
seats = 100 (blank) seats > 0: print "sell ticket" (blank) = seats - 1
0 Votes
What should I add/improve ?
1 Votes
Flight tracker coding foundation help me
1 Votes
Should You Specialize or Diversify in Programming?
1 Votes
Tools for web design?
1 Votes