Magic Square Program (C++)

前端 未结 5 448
没有蜡笔的小新
没有蜡笔的小新 2020-12-17 01:12

For those unfamiliar with the classic magic square algorithm: A magic square is a two dimensional array (n x n) which contains a numerical value between the values 1 and n^2

5条回答
  •  南方客
    南方客 (楼主)
    2020-12-17 01:48

    you cant take the number n from the user ,because you have to define the size of the array with constant

提交回复
热议问题