title: unwanted result with loops in c
body: <p>In the following code no matter what I do it loops forever and showing "syntax error" forever.</p>
  
  <p>This code needs to check if the answer is neither 'y' nor 'n'.  If it is ask again for answer and then if answer 'y' it will loop again all the func
  and if answer is 'n' it should do nothing...</p>
  
  <pre><code>char answer = ' ';
  int round = 0;
  do
  {
      round = chooseLevel();
      guess(round);
      while ((answer != 'y') || (answer != 'n'))
      {
          printf("\nWould you like to play again? (y/n): ");
          answer  = getch();
          putch(answer );
          printf ("\nchar is %c\n", answer );
          if ((answer != 'y') || (answer != 'n'))
          {
              printf("Syntax Error");
          }
      }
  }
  while (answer  == 'y');
  </code></pre>