/in/foo.c: In function 'main':
/in/foo.c:6:10: warning: unknown conversion type character 0x20 in format [-Wformat=]
scanf("% d",&x);
^
/in/foo.c:6:8: warning: too many arguments for format [-Wformat-extra-args]
scanf("% d",&x);
^~~~~
/in/foo.c:11:11: error: stray '\357' in program
if(x%i=0)
^
/in/foo.c:11:12: error: stray '\274' in program
if(x%i=0)
^
/in/foo.c:11:13: error: stray '\211' in program
if(x%i=0)
^
/in/foo.c:11:9: error: lvalue required as left operand of assignment
if(x%i=0)
^
/in/foo.c:12:6: error: expected ')' before 'cnt'
cnt++
^~~
/in/foo.c:14:1: error: expected expression before '}' token
}
^
/in/foo.c:15:5: error: stray '\357' in program
if(cnt=0)
^
/in/foo.c:15:6: error: stray '\274' in program
if(cnt=0)
^
/in/foo.c:15:7: error: stray '\210' in program
if(cnt=0)
^
/in/foo.c:15:8: error: expected '(' before 'cnt'
if(cnt=0)
^~~
/in/foo.c:15:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(cnt=0)
^~
/in/foo.c:15:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if(cnt=0)
^
/in/foo.c:15:13: error: expected statement before ')' token
/in/foo.c:17:3: error: 'else' without a previous 'if'
else
^~~~
/in/foo.c:18:15: error: stray '\357' in program
printf("no");
^
/in/foo.c:18:16: error: stray '\274' in program
printf("no");
^
/in/foo.c:18:17: error: stray '\211' in program
printf("no");
^
/in/foo.c:18:18: error: stray '\357' in program
printf("no");
^
/in/foo.c:18:19: error: stray '\274' in program
printf("no");
^
/in/foo.c:18:20: error: stray '\233' in program
printf("no");
^
/in/foo.c:19:4: error: expected ')' before 'return'
return 0;
^~~~~~
/in/foo.c:19:12: error: stray '\357' in program
return 0;
^
/in/foo.c:19:13: error: stray '\274' in program
return 0;
^
/in/foo.c:19:14: error: stray '\233' in program
return 0;
^
/in/foo.c:20:1: error: expected ';' before '}' token
}
^
/in/foo.c:7:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable]
int cnt=0;
^~~