fork download
  1. #Include "stdio.h"
  2.  
  3. int main ()
  4. {
  5. float b, h, area; //base, altura, area
  6.  
  7. int c; // contador
  8.  
  9. for (c = 1; c <= 50; c++)
  10. printf("%i", c) ;
  11.  
  12.  
  13. getch();
  14.  
  15. return 0;
  16. }
  17.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c:1:2: error: invalid preprocessing directive #Include
prog.c: In function ‘main’:
prog.c:10: warning: implicit declaration of function ‘printf’
prog.c:10: warning: incompatible implicit declaration of built-in function ‘printf’
prog.c:13: warning: implicit declaration of function ‘getch’
prog.c:5: warning: unused variable ‘area’
prog.c:5: warning: unused variable ‘h’
prog.c:5: warning: unused variable ‘b’
stdout
Standard output is empty