foo.cc: In function 'int main()':
foo.cc:28:13: error: 'x1' was not declared in this scope; did you mean 'x'?
28 | if (x1<x2&&x1+x2==10);
| ^~
| x
foo.cc:28:16: error: 'x2' was not declared in this scope; did you mean 'x'?
28 | if (x1<x2&&x1+x2==10);
| ^~
| x
foo.cc:29:15: error: 'x1' was not declared in this scope; did you mean 'x'?
29 | cout<<x1<<"+"<<x2<<"="<<x1+x2<<endl;
| ^~
| x
foo.cc:29:24: error: 'x2' was not declared in this scope; did you mean 'x'?
29 | cout<<x1<<"+"<<x2<<"="<<x1+x2<<endl;
| ^~
| x