Main.cc: In function ‘int main()’: Main.cc:6:20: error: expected ‘)’ before ‘{’ token if((a>b)&&(a>c){ ~ ^ ) Main.cc:11:1: error: expected statement at end of input } ^ Main.cc:6:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if((a>b)&&(a>c){ ^~ cc1plus: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ Main.cc:11:1: error: expected ‘}’ at end of input } ^ Main.cc:3:11: note: to match this ‘{’ int main(){ ^