+ 5

I need a program in c++ making spiral in square entering data and display square spiral

it should display like 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 where numbers should be entered in this sequence

18th Feb 2018, 2:36 PM
Prashant Kumar
Prashant Kumar - avatar
3 Respostas
19th Feb 2018, 12:32 AM
Vukan
Vukan - avatar
+ 1
can u please make it in simple form like in basic c++
19th Feb 2018, 5:03 AM
Prashant Kumar
Prashant Kumar - avatar
21st Mar 2018, 3:31 PM
Abhimanyu Gupta
Abhimanyu Gupta - avatar