/in/foo.c: In function 'main':
/in/foo.c:4:16: error: expected identifier or '(' before numeric constant
4 | int x, 1<x<100;
| ^
/in/foo.c:5:9: error: 'cin' undeclared (first use in this function)
5 | cin>>x;
| ^~~
/in/foo.c:5:9: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:7:9: error: expected ',' or ';' before 'if'
7 | if(x%2!=0)
| ^~
/in/foo.c:9:22: error: expected ';' before 'else'
9 | i=i+1
| ^
| ;
10 | else
| ~~~~
/in/foo.c:12:22: error: expected ';' before 'if'
12 | i=i+1
| ^
| ;
13 | if(x=1)
| ~~