title: Multiple conditions in WHILE loop
body: <p>I want to exit the while loop when the user enters 'N' or 'n'. But it does not work. It works well with one condition but not two.</p>
  
  <pre><code>import java.util.Scanner;
  
  class Realtor {
  
      public static void main (String args[]){
  
          Scanner sc = new Scanner(System.in);
  
          char myChar = 'i';
  
          while(myChar != 'n' || myChar != 'N'){
  
             System.out.println("Do you want see houses today?");
             String input = sc.next();
             myChar = input.charAt(0); 
             System.out.println("You entered "+myChar);
          }
      }
  }
  </code></pre>