Description: Create the below format number list(like a snail).
If input is 3, the output should be:
1 2 3
8 9 4
7 6 5
If input is 4, the output should be:
1 2 3 4
12 13 14 5
11 16 15 6
10 9 8 7
If the input is 5, the output should be:
1 2 3 4 5
16 17 18 19 6
15 24 25 20 7
14 23 22 21 8
13 12 11 10 9
The input should be in the command line, but not in your code
internally.
To Search:
File list (Check if you may need any files):
snail\AnchorTest
.....\AnchorTest.c
.....\makefile
snail