0

How to print a spiral pattern using c programming

if the input number is 3, the output should be 1 2 3 8 9 4 7 6 5

28th Aug 2018, 3:24 AM
Pooja Jagadish
Pooja Jagadish - avatar
2 Answers
28th Aug 2018, 5:19 AM
Keerttik Titan
Keerttik Titan - avatar
+ 2
Perhaps you can get ideas here https://www.sololearn.com/learn/4543/?ref=app
28th Aug 2018, 3:31 AM
Jonathan Pizarra (JS Challenger)
Jonathan Pizarra (JS Challenger) - avatar