+ 4
Challenge: Magic Square(JAVA ONLY)
Take odd integer input from the user and print it Magic Square. Eg - Input = 3, Output is 3 * 3 Magic Square. Magic Square - A Matrix in which sum of it's sides and diagonals is equal.
1 ответ
+ 14
I think this C++ version can be converted with a little effort.
https://code.sololearn.com/cKviIY8JwD5Z/?ref=app