Number pattern programs in C

Number pattern is a series of numbers arranged in specific order. These patterns are patterns created by numbers and are similar to star patterns. They are best suited to enhance your logical thinking abilities and to practice flow control statements.

I have assembled a list of number patterns to practice for both novice as well as intermediate programmers. Practice more and more of it, to enhance your logical thinking.

Always feel free to drop down your queries and suggestions below in the comments section. I always love to hear from hugs and bugs from you.

Required knowledge

Basic C programming, Operators, If else, Nested If else, For loop, Nested loop

List of Number pattern programming exercises

Square number patterns

Triangle Easy Number Patterns


Triangle 0,1 Easy Number Patterns


Triangle Hard Number Patterns


Diamond Number Patterns


Tricky Number Patterns


Happy coding 😉

About Pankaj

Pankaj Prakash is the founder, editor and blogger at Codeforwin. He loves to learn new techs and write programming articles especially for beginners. He works at Vasudhaika Software Sols as a Software Design Engineer and manages Codeforwin. In short Pankaj is Web developer, Blogger, Learner, Tech and Music lover.

Follow on: Facebook | Twitter | Google | or

Comments and discussion
Have a doubt, write here. I will help my best.
Before commenting you must escape your source code before commenting. Paste your source code inside
<pre><code> ----Your Source Code---- </code></pre>