fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int i,j;
  5. for(i=1;j<=5;i++)
  6. {
  7. for(j=1;j<=i;j++)
  8. {
  9. printf("* ");
  10. }
  11. printf("\n");
  12. }
  13. return 0;
  14. }
Success #stdin #stdout 0s 5584KB
stdin
5
stdout
* 
* * 
* * * 
* * * * 
* * * * *