Long puzzled trying to solve this problem but nothing happened. Task: given number n. It is necessary to display n * n digits in the console. It is not just a row but a table with n rows and n columns. For example, if n = 5, then the console should display:
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.
In that order. As if the numbers increase around. thanks for the help
по спирали. - MBo 4:42 pm