Challenge: Magic Square(JAVA ONLY) | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 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.

14th Oct 2017, 10:50 AM
Vedansh Agrawal
Vedansh Agrawal - avatar
1 Réponse
+ 14
I think this C++ version can be converted with a little effort. https://code.sololearn.com/cKviIY8JwD5Z/?ref=app
14th Oct 2017, 12:06 PM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar