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