Main.cc:15:16: warning: missing terminating " character cout <<"=; ^ Main.cc:15:16: error: missing terminating " character cout <<"=; ^~~ Main.cc: In function ‘int main()’: Main.cc:13:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] }else if(x=y) ~^~ Main.cc:16:5: error: expected primary-expression before ‘}’ token } ^