/in/foo.c: In function 'main':
/in/foo.c:6:2: error: expected ';' before 'scanf'
scanf("%d,%d,%d",&a,&b,&c);
^~~~~
/in/foo.c:7:4: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if(a<b)
^
/in/foo.c:12:2: error: 'elsi' undeclared (first use in this function)
elsi if(a<c)
^~~~
/in/foo.c:12:2: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:12:7: error: expected ';' before 'if'
elsi if(a<c)
^~
/in/foo.c:14:5: error: 'else' without a previous 'if'
else
^~~~
/in/foo.c:15:12: error: 'max' undeclared (first use in this function)
printf(max=%d\n",a);
^~~
/in/foo.c:15:16: error: expected expression before '%' token
printf(max=%d\n",a);
^
/in/foo.c:15:18: error: stray '\' in program
printf(max=%d\n",a);
^
/in/foo.c:15:20: warning: missing terminating " character
printf(max=%d\n",a);
^
/in/foo.c:15:20: error: missing terminating " character
printf(max=%d\n",a);
^~~~~
/in/foo.c:17:1: error: expected ';' before '}' token
}
^