/in/foo.c:2:17: error: missing terminating > character
2 | #include <math.h
| ^
/in/foo.c: In function 'main':
/in/foo.c:5:12: warning: format '%f' expects argument of type 'float *', but argument 2 has type 'double *' [-Wformat=]
5 | scanf("%1f",&x);
| ~~^ ~~
| | |
| | double *
| float *
| %1lf
/in/foo.c:8:16: warning: comparison of constant '10' with boolean expression is always true [-Wbool-compare]
8 | }else if(0<=x<10){
| ^
/in/foo.c:8:13: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
8 | }else if(0<=x<10){
| ~^~~
/in/foo.c:15:20: error: expected ';' before 'return'
15 | printf("%.3f\n",y)
| ^
| ;
16 | return 0;
| ~~~~~~