foo.c: In function 'main':
foo.c:6:9: error: 'y1' undeclared (first use in this function); did you mean 'x1'?
6 | y1=x1+x2;
| ^~
| x1
foo.c:6:9: note: each undeclared identifier is reported only once for each function it appears in
foo.c:7:9: error: 'y2' undeclared (first use in this function); did you mean 'x2'?
7 | y2=x1*x2;
| ^~
| x2
foo.c:8:9: error: 'y3' undeclared (first use in this function)
8 | y3=x1%x2;
| ^~
foo.c:10:24: error: expected ';' before '}' token
10 | return 0
| ^
| ;
11 | }
| ~
[Hydro](https://hydro.ac)提供评测服务