Pattern Programming in C


C Programming to draw a pattern

» C Program to display the Following Pattern

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

» C Program to display the Following Pattern

*
* *
* * *
* * * *
* * * * *

» C Program to display the Following Pattern

A
A B
A B C
A B C D
A B C D E

» C Program to display the Following Pattern

                A
            A B
        A B C
    A B C D
A B C D E

» C Program to display the Following Pattern

         *
      * * *
   * * * * *
* * * * * * *

» C Program to display the Following Pattern

               1
           1 2 3
       1 2 3 4 5
    1 2 3 4 5 6 7
1 2 3 4 5 6 7 8 9
    1 2 3 4 5 6 7
       1 2 3 4 5
           1 2 3
              1

» C Program to display the Following Pattern

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

» C Program to display the Following Pattern

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

» C Program to display the Following Pattern

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

» C Program to display the Following Pattern

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