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