Skip to content

About

A collection of coding patterns for beginners and learners

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 

Repository files navigation

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

About

A collection of coding patterns for beginners and learners

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors