fork download
  1. #include <stdio.h>
  2. int main()
  3. {
  4. int i,j;
  5. for(i=1;i<=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 5300KB
stdin
Standard input is empty
stdout
*
**
***
****
*****