foo.c: In function ‘main’:
foo.c:6:24: error: expected expression before ‘%’ token
6 | scanf("%d%d%d",%x,&y,&z);
| ^
foo.c:20:14: error: ‘z)’ undeclared (first use in this function)
20 | if(y<z)
| ^~~
foo.c:20:14: note: each undeclared identifier is reported only once for each function it appears in
foo.c:20:17: error: expected ‘)’ before ‘{’ token
20 | if(y<z)
| ~ ^
| )
21 | {
| ~
foo.c:29:1: error: expected expression before ‘}’ token
29 | }
| ^
foo.c:29:1: error: expected declaration or statement at end of input