fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int i = 10;
  5. int hap = =0;
  6. while(i>1)
  7. {
  8. i--;
  9. if(i/3 ==1)
  10. hap++;
  11. }
  12. printf("%d\n", hap);
  13. }
  14.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c: In function ‘main’:
prog.c:5:12: error: expected expression before ‘=’ token
  int hap = =0;
            ^
stdout
Standard output is empty