1. The Lo Shu Magic Square is a grid with three rows and three columns that has the following properties: • The grid con
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
1. The Lo Shu Magic Square is a grid with three rows and three columns that has the following properties: • The grid con
1. The Lo Shu Magic Square is a grid with three rows and three columns that has the following properties: • The grid contains the numbers 1 through 9 exactly. • The sum of each row, each column, and each diagonal all add up to the same number. Write a function that takes a two-dimensional 3 x 3 array as a magic square. Your function should display "True" if the square is a Lo Shu Magic square otherwise "False".
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!