Guest User

pyramid-mkII

a guest
Jul 15th, 2013
51
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <stdio.h>
  2.  
  3. int main()
  4. {
  5.     const int max = 3 ;
  6.  
  7.     for(int i = 1 ; i <= max ; i++)
  8.     {
  9.         for(int j = 1 ; j <= i ; j++)
  10.         {
  11.             printf("*") ;
  12.         }
  13.  
  14.         printf("\n") ;
  15.     }
  16.  
  17.     return 0 ;
  18. }
RAW Paste Data