title: Using multiple conditions in a do...while loop
body: <p>So I'm making a program that asks a user if they want to do something. The answer is as simple as Y/N. I would like the program to be able to accept both capital and lowercase "Y". Problem is, when I type <code>while (answer == 'Y', answer == 'y')</code> only the lowercase "Y" is accepted. If I type <code>while (answer == 'y', answer == 'Y')</code></p>
  
  <p>What am I doing wrong?</p>
  
  <p>(More info: "answer" is the name of my "char" variable, and I'm using the "iostream", "cstdlib", and "string" libraries)</p>