4.0.1 • Published 4 years ago

patzy v4.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

Used for printing patterns in JavaScript

Functions (v4.0.0 and above)

upperRightPyramid(num,pat)

    Prints "num" number of lines "pat" half right pyramid pattern in console.
    num is an integer and pat is a character 

    Example:
            upperRightPyramid(3,*)
            
            Output in console

            *
            **
            ***

upperLeftPyramid(num,pat)

    Prints "num" number of lines "pat" half left pyramid pattern in console.
    num is an integer and pat is a character 

    Example:
            upperRightPyramid(3,*)
            
            Output in console

              *
             **
            ***
4.0.1

4 years ago

4.0.0

4 years ago

3.0.4

4 years ago

3.0.3

4 years ago

3.0.2

4 years ago

3.0.1

4 years ago

3.0.0

4 years ago

2.1.0

4 years ago

2.0.0

4 years ago

1.0.0

4 years ago