foo.cc: In function ‘int main()’:
foo.cc:7:12: error: expected ‘;’ before ‘a’
7 | cin a>>b>>c;
| ^~
| ;
foo.cc:7:9: warning: statement has no effect [-Wunused-value]
7 | cin a>>b>>c;
| ^~~
foo.cc:14:35: error: expected ‘;’ before ‘else’
14 | if(b<c) middle = b
| ^
| ;
15 | else if(a<c<b) middle = c
| ~~~~
foo.cc:19:35: error: expected ‘;’ before ‘else’
19 | if(b>c) middle = b
| ^
| ;
20 | else if(a>c>b) middle = c
| ~~~~
foo.cc:22:38: error: expected ‘;’ before ‘return’
22 | cout << middle << max << endl
| ^
| ;
23 | return 0
| ~~~~~~