CONCENTRIC SQUARE PATTERN with numbers in C language[two method][spiral vs concentric matrix]

Опубликовано: 15 Июль 2026
на канале: Programming Knowledge
19,836
like

#concentric #square #patternsinc

Hi friends!!

Welcome to our you tube channel "Programming Knowledge".

First of all I am very thankful to all of you for getting 10k viewers on my channel .

here is the link from where you can download the source code , i have put a text file on github , you can download from this link:
https://github.com/jaysonib/Concentri...

here is the video for printing numbers in concentric square pattern in c language .

4 4 4 4 4 4 4
4 3 3 3 3 3 4
4 3 2 2 2 3 4
4 3 2 1 2 3 4
4 3 2 2 2 3 4
4 3 3 3 3 3 4
4 4 4 4 4 4 4

There are so many methods for printing this type of pattern , I have explain two methods with program.
In first method I have used the same logic as the video "Spiral matrix in C language"
Second method is for finding the minimum value and by using this value we can print the pattern.

Here is the link of Spiral matrix in C language
   • Print MATRIX in SPIRAL form || Spiral matrix  

If you like to make matrix effect in c which is shown in intro of this video then watch this video.
   • make matrix effect in C language[with prog...  

I hope you like this video.
Please Like , share and subscribe
JAY HIND.