/in/foo.c: In function 'main':
/in/foo.c:5:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'scanf'
scanf("%d%d%d",&a,&b,&c);
^~~~~
/in/foo.c:9:9: error: 'c' undeclared (first use in this function)
if (c>max)
^
/in/foo.c:9:9: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:15:18: error: expected identifier before '(' token
if (a!=max)&&(a!=min) mid=a;
^
/in/foo.c:16:18: error: expected identifier before '(' token
if (b!=max)&&(b!=min) mid=b;
^
/in/foo.c:17:18: error: expected identifier before '(' token
if (c!=max)&&(c!=min) mid=c;
^