/in/foo.c: In function 'main':
/in/foo.c:11:3: error: expected ';' before 'printf'
printf("%.3f",y);
^~~~~~
/in/foo.c:12:2: error: expected '}' before 'else'
else if(x>=0 AND x<10)
^~~~
/in/foo.c:12:15: error: expected ')' before 'AND'
else if(x>=0 AND x<10)
^~~
/in/foo.c:14:3: error: expected ';' before 'printf'
printf("%.3f",y);
^~~~~~
/in/foo.c:15:16: error: expected ')' before 'AND'
else if(x>=10 AND x<25)
^~~
/in/foo.c:17:3: error: expected ';' before 'printf'
printf("%.3f",y);
^~~~~~
/in/foo.c:20:3: error: expected ';' before 'printf'
printf("%.3f",y);
^~~~~~
/in/foo.c:6:14: warning: variable 'y' set but not used [-Wunused-but-set-variable]
double x,y;
^
/in/foo.c: At top level:
/in/foo.c:22:2: error: expected identifier or '(' before 'return'
return 0;
^~~~~~
/in/foo.c:23:1: error: expected identifier or '(' before '}' token
}
^