/in/foo.c: In function 'main':
/in/foo.c:12:32: warning: implicit declaration of function 'power' [-Wimplicit-function-declaration]
12 | x1=(-b+power(delta,0.5))/(2*a);
| ^~~~~
/in/foo.c:14:36: warning: format '%f' expects argument of type 'double', but argument 2 has type 'char *' [-Wformat=]
14 | printf("%.2f\n","%.2f\n",x1,x2);}
| ~~~^ ~~~~~~~~
| | |
| | char *
| double
| %.2s
/in/foo.c:14:32: warning: too many arguments for format [-Wformat-extra-args]
14 | printf("%.2f\n","%.2f\n",x1,x2);}
| ^~~~~~~~
/in/foo.c: At top level:
/in/foo.c:24:17: error: expected identifier or '(' before 'return'
24 | return 0;
| ^~~~~~
/in/foo.c:25:1: error: expected identifier or '(' before '}' token
25 | }
| ^