adsense

Hii, welcome to my site. My name is Om prakash kartik. This blog helps you to learn programming languages concepts.

Write a program in to print following numerical patterns.

 Pattern 1
1
1 2
1 2 3
1 2 3 4
1 2 3 4 5

 Pattern 2


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

 Pattern 

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

Pattern 4
  
           
1 2 3 4 5
2 3 4 5
3 4 5
4 5
5    

Pattern 5

1 1 1 1 1
2 2 2 2
3 3 3
4 4
5
View program:-

Pattern 6

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


 Pattern 7
                   
5 5 5 5 5
4 4 4 4
3 3 3
2 2
1
View program:-
Pattern 8

1
2 4
1 3 5
2 4 6 8
1 3 5 7
  View program:-
Pattern 9

5
4 5
3 4 5
2 3 4 5
1 2 3 4  5  
View program:-
Pattern 10

1
2 3
4 5 6
7 8 9 10
11 12 13 14 15

Pattern 11

1
0 0
1 1 1
0 0 0 0
1 1 1 1  1  
View program:-

Pattern 12

1 1 1 1 1
0 0 0 0
1 1 1
0 0
1
View program:-

Pattern 13

1         
0 1
1 0 1
0 1 0 1
1 0 1 0  1        View program:-

Pattern 14

15
14 13
2 11 10
9 8 7 6
5 4 3 2 1   View program:-
Pattern 15

1 2 3 4 5
1 2 3 4
1 2 3
1 2
1 View program:-
Pattern 16
5
4 4
3 3 3
2 2 2 2
1 1 1 1 1    View program:-

Pattern 17

1
2 2
3 3 3
4 4 4 4
5 5 5 5 5    View program:-

Pattern 18

5
4 4
3 3 3
2 2 2 2
1 1 1 1 1    View program:-
Pattern 19

1 1 1 1 1
2 2 2 2
3 3 3
4 4
5 View program:-
      
Pattern 20

1 1 1 1 1
0 0 0 0
1 1 1
0 0
1  View program:-
Pattern 21



1
0 0
1 1 1
0 0 0 0
1 1 1 1 1    View program:-

Pattern 22

5 5 5 5 5
4 4 4 4
3 3
2 2
1 View program:-

Pattern 23


1
2 3 2
3 4 5 3 3
4 5 6 7 6 5 4
5 6 7 8 9 8 7 6 5   View program:-
             
Pattern 24

               0                            
            1 0 1
         2 1 0 1 2                                                                                  
      3 2 1 0 1 2 3
   4 3 2 1 0 1 2 3 4
5 4 3 2 1 0 1 2 3 4 5  View program:-

Pattern 25


1
1 2 1
1 2 3 2 1
1 2 3 4 3 2 1
1 2 3 4 5 4 3 2 1   View program:-





Post a Comment

0 Comments