Star Patterns in JAVA

JAVA PROGRAMS ON STAR PATTERNS

 

JAVA program to print a pattern of right triangle using star
*              
* *
* * *
* * * *
* * * * *

 

 

JAVA program to print a pattern of an inverted right triangle using star
* * * * *
* * * *
* * *
* *
*

 

JAVA program to print a pattern of  a pyramid/equilateral triangle using star
        *
      * * *
    * * * * *
  * * * * * * *
* * * * * * * * *

 

JAVA program to print a pattern of diamond using star
        *
      * * *
    * * * * *
  * * * * * * *
* * * * * * * * *
  * * * * * * *
    * * * * *
      * * *
        *

 

JAVA program to print a pattern of a mirrored half diamond using star
        *
      * *
    * * *
  * * * *
* * * * *
  * * * *
    * * *
      * *
        *
Share Me!
  •  
  •  
  •  
  •  
  •  
  •