foo.cc: In function ‘int main()’:
foo.cc:9:17: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
9 | if(b<c)
| ^~
foo.cc:10:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
10 | median=b;max=c;
| ^~~
foo.cc:11:17: error: ‘else’ without a previous ‘if’
11 | else// a<b b>c
| ^~~~
foo.cc:15:25: error: ‘else’ without a previous ‘if’
15 | else
| ^~~~
foo.cc:18:9: error: ‘else’ without a previous ‘if’
18 | else// b<a
| ^~~~
foo.cc:22:17: error: ‘else’ without a previous ‘if’
22 | else// b<a a>c
| ^~~~
foo.cc:26:25: error: ‘else’ without a previous ‘if’
26 | else
| ^~~~