fork download
  1. #include<stdio.h>
  2. main()
  3. {
  4. int i,j,n;
  5. scanf("%d",&n);
  6. for(i=1;1<n;i++)
  7. for(j=1;j=<i;j++)
  8. {
  9. printf("%d",j);
  10. }
  11. }
  12.  
  13.  
  14.  
  15.  
  16.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
5
compilation info
prog.c:3: warning: return type defaults to ‘int’
prog.c: In function ‘main’:
prog.c:7: error: expected expression before ‘<’ token
prog.c:5: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result
stdout
Standard output is empty