Introduction - If you have any usage issues, please Google them yourself
Enter a natural number N (2 ≤ N ≤ 9), the requirements are as follows spiral output matrix, that is, edge length of N* N, the element values for the 1 to N* N, 1 in the upper left corner, showing a clockwise direction in order to place the various elements . N = 3, the corresponding figures for the location of each matrix as follows: 123,894,765