/in/foo.cc: In function 'int main()':
/in/foo.cc:9:10: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(a>b&&b>c||a>c&&c>b)
~~~^~~~~
/in/foo.cc:15:15: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
else if(b>a&&a>c||b>c&&c>a)
~~~^~~~~
/in/foo.cc:32:4: error: expected ';' before 'if'
if(a==c&&b==c&&a==b)
^~
/in/foo.cc:36:4: error: expected '}' before 'else'
else if(a==b&&b==a)
^~~~
/in/foo.cc: At global scope:
/in/foo.cc:50:4: error: expected unqualified-id before 'else'
else
^~~~
/in/foo.cc:54:4: error: expected unqualified-id before 'return'
return 0;
^~~~~~
/in/foo.cc:55:1: error: expected declaration before '}' token
}
^