Magic Square Program (C++)

前端 未结 5 465
没有蜡笔的小新
没有蜡笔的小新 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:50

    You should create the dynamic array in order to listen dimension from keyboard, but don't forget to delete arrays when you don't need it

提交回复
热议问题