Pages

Sunday, 14 June 2015

Star pattern

C program to print patterns of stars

*
**
***
****
*****
Click for code 
*
* *
* * *
* * * *
* * * * *
Click for code
    *
   * *
  * * *
 * * * *
* * * * *
Click for code
    
    *
   **
  ***
 ****
*****
Click for code
* * * * *
* * * *
* * *
* *
*
Click for code
    *
   *** 
  *****
 *******
*********
Click for code
*****
****
***
**
*
Click for code
*****
 ****
  ***
   **
    *
Click for code
*********
 *******
  *****
   ***   
    *
Click for code
*         *
**       **
***     ***
****   ****
***********
Click for code
  
  *
 ***
*****
 ***
  *
Click for code
  
  *
 * *
*   *
 * *
  *
Click for code
*****
** **
*   *
** **
*****
Click for code
*   *
 * *
  *
 * *
*   *
Click for code