Dynamic clockwise rotating board | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Dynamic clockwise rotating board

Guys I need some help. I need to write a code for a dynamic clockwise rotating board. The user inputs the number of rows, and lines, and the code needs to count the numbers, where number 1 is in the bottom right corner, and counts the numbers clockwise to the center. It needs to look like this: 5- 6- 7 | | 4 9- 8 | 3- 2- 1

19th Dec 2018, 10:13 AM
Mirza Kadric
Mirza Kadric - avatar
1 Answer
+ 1
Sorry I find this a little bit unclear.
20th Dec 2018, 1:16 AM
Kevin Oudai
Kevin Oudai - avatar