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