/in/foo.c: In function 'main':
/in/foo.c:12:21: warning: implicit declaration of function 'pow' [-Wimplicit-function-declaration]
12 | y=2*pow(x,2)+4*x-5;
| ^~~
/in/foo.c:2:1: note: include '<math.h>' or provide a declaration of 'pow'
1 | #include<stdio.h>
+++ |+#include <math.h>
2 | int main()
/in/foo.c:12:21: warning: incompatible implicit declaration of built-in function 'pow' [-Wbuiltin-declaration-mismatch]
12 | y=2*pow(x,2)+4*x-5;
| ^~~
/in/foo.c:12:21: note: include '<math.h>' or provide a declaration of 'pow'
/in/foo.c:17:19: warning: implicit declaration of function 'sqrt' [-Wimplicit-function-declaration]
17 | y=sqrt(5*x+10);
| ^~~~
/in/foo.c:17:19: note: include '<math.h>' or provide a declaration of 'sqrt'
/in/foo.c:17:19: warning: incompatible implicit declaration of built-in function 'sqrt' [-Wbuiltin-declaration-mismatch]
/in/foo.c:17:19: note: include '<math.h>' or provide a declaration of 'sqrt'
/in/foo.c:22:19: warning: incompatible implicit declaration of built-in function 'pow' [-Wbuiltin-declaration-mismatch]
22 | y=pow(x,3);
| ^~~
/in/foo.c:22:19: note: include '<math.h>' or provide a declaration of 'pow'
/in/foo.c:5:11: warning: 'x' is used uninitialized [-Wuninitialized]
5 | if(x>=-100&&x<0)
| ^
/in/foo.c:4:15: note: 'x' was declared here
4 | float x,y;
| ^