/in/foo.c: In function 'main':
/in/foo.c:7:17: error: expected ';' before '}' token
if(x<0){y=3*x-1}
^
/in/foo.c:8:29: error: expected ';' before '}' token
else if(x<10){y=2*x*x+4*x-5}
^
/in/foo.c:9:18: warning: implicit declaration of function 'sqrt' [-Wimplicit-function-declaration]
else if(x<25){y=sqrt(5*x+10)}
^~~~
/in/foo.c:9:18: warning: incompatible implicit declaration of built-in function 'sqrt'
/in/foo.c:9:18: note: include '<math.h>' or provide a declaration of 'sqrt'
/in/foo.c:9:30: error: expected ';' before '}' token
else if(x<25){y=sqrt(5*x+10)}
^