pattern 32: Number pattern 7 program in C using for loops

Number Pattern 7 :

Write a C Program to print below number pattern 7 on the console. Here are couple example of input and expected output of the program

Example 1:

Enter how many rows you want : 5
 1
 2 1
 3 2 1
 4 3 2 1
 5 4 3 2 1

Example 2:

Enter how many rows you want : 10
1
2 1
3 2 1
4 3 2 1
5 4 3 2 1
6 5 4 3 2 1
7 6 5 4 3 2 1
8 7 6 5 4 3 2 1
9 8 7 6 5 4 3 2 1
10 9 8 7 6 5 4 3 2 1

📢  Note: This program is one of the Series of Number pattern programs in C.

Program to print above Number pattern 7 :

Program Output :

Similar Number Patterns:

Similar Star pattern programs :

Venkatesh

Hi Guys, I am Venkatesh. I am a programmer and an Open Source enthusiast. I write about programming and technology on this blog.

You may also like...

Leave a Reply