Main.cc: In function ‘int main()’: Main.cc:7:9: warning: comparisons like ‘X<=Y<=Z’ do not have their mathematical meaning [-Wparentheses] if(e>w>r>q=t){ ~^~ Main.cc:7:11: warning: comparisons like ‘X<=Y<=Z’ do not have their mathematical meaning [-Wparentheses] if(e>w>r>q=t){ ~~~^~ Main.cc:7:16: error: lvalue required as left operand of assignment if(e>w>r>q=t){ ^