Skip to content

Latest commit

 

History

History
152 lines (118 loc) · 1.6 KB

README.md

File metadata and controls

152 lines (118 loc) · 1.6 KB

I have a dream,
I have a dream that, anyone in the world, who is stuck in patterns will get help from this repository. Dear people of world, please have a look at the patterns given below and write code to print that code after taking an input from user, Each folder in this repository, contains codes of corresponding patterns,

If the patterns are not visible
use that pencil logo on top right corner to see the patterns

##Please write code to whichever language you know and make them available for learners. ##Pleaase add more patterns if you like.

Following patterns should be printed when user input is "5":

Q1)
*****
****
***
**
*

Q2)
*****
****
***
**
*

Q3)
*
**
***
****
*****

Q4)
*
**
***
****
*****

Q5)
*********
*******
*****
***
*

Q6)
*
***
*****
*******
*********

Q7)
*
**
***
****
*****
****
***
**
*

Q8)
*
**
***
****
*****
****
***
**
*

Q9)
*
***
*****
***
*

Q10)  
*****  
*   *  
*   *  
*   *  
*****  


Q11)  
    1
   1 2
  1 2 3 
 1 2 3 4
1 2 3 4 5


Q12)  
1 2 3 4 5
 1 2 3 4
  1 2 3 
   1 2
    1


Q13)  
        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


Q14)
***** *****
****   ****
***     ***
**       **
*         *

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


Q15)
**********
 ********
  ******
   ****
    **
    **
   ****
  ******
 ********
**********