Home Forums C Programming program to make spiral matrix Re: Re: program to make spiral matrix

#3474
KerriReeks
Participant

firstly tell me u r that cman?

ya spiral matrix is like as i have given inthe question.in it i f the input is 4,then it will print the numers in 4 row and 4 column.just like a coil structure.

it will print 1 2 3 4,then it will go to 4th column and print 5
6
7
and so on…….in my previous post u can c that.although it seems not clear in it.
try to understand that matrix by observing the figure u can understand