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