What am I doing wrong here?

int answer; cout << "Are you bitten by a zombie? Y or N"; cin>>answer; if (answer>="Y") cout<< "Go to a populated area where you have access to human brains!"; else if (answer="N") cout<< "Are you scared... show more int answer;
cout << "Are you bitten by a zombie? Y or N";
cin>>answer;
if (answer>="Y")
cout<< "Go to a populated area where you have access to human brains!";
else if (answer="N")
cout<< "Are you scared of zombies? Y or N";
1 answer 1