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. {
  8. for(j=1;j=<i;j++)
  9. {
  10. printf("%d",j);
  11. }
  12. }
  13. }
  14.  
  15.  
  16.  
  17.  
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:8: 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