Skip to content

Update isMagicSquare.java#3

Open
Vytas87 wants to merge 1 commit intoCreede15:masterfrom
Vytas87:patch-1
Open

Update isMagicSquare.java#3
Vytas87 wants to merge 1 commit intoCreede15:masterfrom
Vytas87:patch-1

Conversation

@Vytas87
Copy link

@Vytas87 Vytas87 commented Sep 16, 2019

The original code checks only the sums of rows. Therefore, to complete the task, columns and diagonals need to be checked as well.

The original code checks only the sums of rows. Therefore, to complete the task, columns and diagonals need to be checked as well.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant