+ 6
Magic Square
Can we make a 3x3 square in which total of 3 No's in all directions is equal ? in C+ + or C# ?
4 odpowiedzi
+ 8
Check this code (https://code.sololearn.com/cKviIY8JwD5Z/?ref=app). Give 3 as input and it generates a 3x3 magic square. You can give any odd number as input.
+ 4
Great
This works with 7x7 grid
Wow
Thank you dear.
+ 3
Wow. Thx Krishna.
+ 1
Yes Mr Krishna
but it doesn't work for a 2x2 grid.