Pattern Programs - Intermediate Level

  1. Write a program to print following pattern.
    *        *
    **      **
    ***    ***
    ****  ****
    **********
    **********
    ****  ****
    ***    ***
    **      **
    *        *

    Click Here for Solution



  2. Write a program to print following pattern.
    ******* *******
    ******   ******
    *****     *****
    ****       ****
    ***         ***
    **           **
    *             *
    *             *
    **           **
    ***         ***
    ****       ****
    *****     *****
    ******   ******
    ******* *******

    Click Here for Solution



  3. Write a program to print following pattern.
    # # # # # # #
     # # # # # #
      # # # # #
       # # # #
        # # #
         # #
          #
          #
         # #
        # # #
       # # # #
      # # # # #
     # # # # # #
    # # # # # # #

    Click Here for Solution



  4. Write a program to print following pattern.
    *****
    *   *
    *   *
    *   *
    *****

    Click Here for Solution



  5. Write a program to print following pattern.
        1
       232
      34543
     4567654
    567898765

    Click Here for Solution



  6. Write a program to print following pattern.
    A
    ABA
    ABCBA
    ABCDCBA
    ABCDEDCBA

    Click Here for Solution