/in/foo.c: In function 'main':
/in/foo.c:6:18: warning: format '%f' expects argument of type 'float *', but argument 2 has type 'double *' [-Wformat=]
6 | scanf("%1f,%2f,%3f",&a,&b,&c);
| ~~^ ~~
| | |
| float * double *
| %1lf
/in/foo.c:6:22: warning: format '%f' expects argument of type 'float *', but argument 3 has type 'double *' [-Wformat=]
6 | scanf("%1f,%2f,%3f",&a,&b,&c);
| ~~^ ~~
| | |
| float * double *
| %2lf
/in/foo.c:6:26: warning: format '%f' expects argument of type 'float *', but argument 4 has type 'double *' [-Wformat=]
6 | scanf("%1f,%2f,%3f",&a,&b,&c);
| ~~^ ~~
| | |
| float * double *
| %3lf
/in/foo.c:14:34: warning: implicit declaration of function 'sprt' [-Wimplicit-function-declaration]
14 | x1=(-b+sprt(delta))/2*a;
| ^~~~
/in/foo.c:25:25: error: expected expression before '=' token
25 | return=0;
| ^
/in/foo.c:26:18: error: expected declaration or statement at end of input
26 | }
| ^