char guestType ()
{
char type;
cout << "Enter M if you are a member or N if you are not a member.";
cin >> type;
while (type != 'm' || 'M' || 'n' || 'N')
{
cout << "Please enter a valid answer: ";
cin >> type;
cout << endl;
}
return type;
}
No matter what I enter, nothing is accepted. Thanks!