Skip to content

Kranthi-Guribilli/Patterns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 

Repository files navigation

Patterns

Printing these patterns using loops:

  1. Source Code: (Click to redirect to the code)
1.  *****
    *****
    *****
    *****
    *****
  1. Source Code: (Click to redirect to the code)
2.  *
    **
    ***
    ****
    *****
  1. Source Code: (Click to redirect to the code)
3.  *****
    ****
    ***
    **
    *
  1. Source Code: (Click to redirect to the code)
4.  1
    1 2
    1 2 3
    1 2 3 4
    1 2 3 4 5
  1. Source Code: (Click to redirect to the code)
5.  *
    **
    ***
    ****
    *****
    *****
    ****
    ***
    **
    *
  1. Source Code: (Click to redirect to the code)

6.       *
        **
       ***
      ****
     *****
  1. Source Code: (Click to redirect to the code)
7.   *****
      ****
       ***
        **
         *
  1. Source Code: (Click to redirect to the code)

8.      *
       ***
      *****
     *******
    *********
  1. Source Code: (Click to redirect to the code)
9.  *********
     *******
      *****
       ***
        *
  1. Source Code: (Click to redirect to the code)
10.      *
        * *
       * * *
      * * * *
     * * * * *
  1. Source Code: (Click to redirect to the code)
11.  * * * * *
      * * * *
       * * *
        * *
         *
  1. Source Code: (Click to redirect to the code)
12.  * * * * *
      * * * *
       * * *
        * *
         *
         *
        * *
       * * *
      * * * *
     * * * * *
  1. Source Code: (Click to redirect to the code)
13.      *
        * *
       *   *
      *     *
     *********
  1. Source Code: (Click to redirect to the code)
14.  *********
      *     *
       *   *
        * *
         *
  1. Source Code: (Click to redirect to the code)
15.      *
        * *
       *   *
      *     *
     *       *
      *     *
       *   *
        * *
         *
  1. Source Code: (Click to redirect to the code)
16.           1
            1   1
          1   2   1
        1   3   3   1
      1   4   6   4   1
  1. Source Code: (Click to redirect to the code)
17.      1
        212
       32123
      4321234
       32123
        212
         1
  1. Source Code: (Click to redirect to the code)
18.   **********
      ****  ****
      ***    ***
      **      **
      *        *
      *        *
      **      **
      ***    ***
      ****  ****
      **********
  1. Source Code: (Click to redirect to the code)
19.    *        *
       **      **
       ***    ***
       ****  ****
       **********
       ****  ****
       ***    ***
       **      **
       *        *
  1. Source Code: (Click to redirect to the code)
20.    ****
       *  *
       *  *
       *  *
       ****
  1. Source Code: (Click to redirect to the code)
21.    1
       2  3
       4  5  6
       7  8  9  10
       11 12 13 14 15
  1. Source Code: (Click to redirect to the code)
22.    1
       0 1
       1 0 1
       0 1 0 1
       1 0 1 0 1
  1. Source Code: (Click to redirect to the code)
23.        *      *
         *   *  *   *
       *      *      *
  1. Source Code: (Click to redirect to the code)
24.    *        *
       **      **
       * *    * *
       *  *  *  *
       *   **   *
       *   **   *
       *  *  *  *
       * *    * *
       **      **
       *        *
  1. Source Code: (Click to redirect to the code)
25.       *****
         *   *
        *   *
       *   *
      *****
  1. Source Code: (Click to redirect to the code)
26.   1 1 1 1 1 1
      2 2 2 2 2
      3 3 3 3
      4 4 4
      5 5
      6
  1. Source Code: (Click to redirect to the code)
27.   1 2 3 4  17 18 19 20
        5 6 7  14 15 16
          8 9  12 13
            10 11
  1. Source Code: (Click to redirect to the code)
28.      *
        * *
       * * *
      * * * *
     * * * * *
     * * * * *
      * * * *
       * * *
        * *
         *
  1. Source Code: (Click to redirect to the code)
29.      
       *        *
       **      **
       ***    ***
       ****  ****
       **********
       **********
       ****  ****
       ***    ***
       **      **
       *        *
  1. Source Code: (Click to redirect to the code)
30.         1
          2 1 2
        3 2 1 2 3
      4 3 2 1 2 3 4
    5 4 3 2 1 2 3 4 5
  1. Source Code: (Click to redirect to the code)
31.      4 4 4 4 4 4 4  
         4 3 3 3 3 3 4   
         4 3 2 2 2 3 4   
         4 3 2 1 2 3 4   
         4 3 2 2 2 3 4   
         4 3 3 3 3 3 4   
         4 4 4 4 4 4 4   

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages