/in/foo.c: In function 'main':
/in/foo.c:6:2: warning: implicit declaration of function 'scant' [-Wimplicit-function-declaration]
scant("%d%d,&xmin,&max);
^~~~~
/in/foo.c:6:8: warning: missing terminating " character
scant("%d%d,&xmin,&max);
^
/in/foo.c:6:8: error: missing terminating " character
scant("%d%d,&xmin,&max);
^~~~~~~~~~~~~~~~~~
/in/foo.c:7:2: error: expected expression before 'int'
int sum=0;
^~~
/in/foo.c:16:1: error: expected ';' before '}' token
}
^
/in/foo.c:5:14: warning: unused variable 'xmax' [-Wunused-variable]
int xmin,xmax;
^~~~
/in/foo.c:5:9: warning: unused variable 'xmin' [-Wunused-variable]
int xmin,xmax;
^~~~