/in/foo.cc: In function 'int main()':
/in/foo.cc:6:13: error: expected initializer before 'max'
int a,b,c max;
^~~
/in/foo.cc:7:13: error: 'c' was not declared in this scope
cin>>a>>b>>c;
^
/in/foo.cc:11:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
else
^~~~
/in/foo.cc:13:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
if(c>a)
^~
/in/foo.cc:8:4: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if(a>b)
^
/in/foo.cc:17:2: error: 'else' without a previous 'if'
else //(b>a)
^~~~
/in/foo.cc:20:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
else
^~~~
/in/foo.cc:22:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
if(a>c)
^~
/in/foo.cc:26:10: error: expected '}' at end of input
return 0;
^