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