Info

This question is closed. Reopen it to edit or answer.

Magic square ( please help )

1 view (last 30 days)
Melika Eft
Melika Eft on 28 Oct 2022
Closed: John D'Errico on 28 Oct 2022
Hello I need to write a code for magic square with different conditions: 1 ) if n is odd and it’s >=3 2) n is Even and its >=4 and 4k ( be a multiple of 4) 3) n is Even , it’s >=6 and be in 4K+1 form Thank you

Answers (0)

This question is closed.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!