title: How can I show user the menu I created again after selecting an option - Java
body: <p>I am beginner and I want to show the user the below </p>
  
  <pre><code>System.out.println("Welcome to the client screen");
  System.out.println("There are 3 Lotteries (Lotto, Jackpot and National)");
  System.out.println("Please select one (L, J, N) or E to exit: "); 
  </code></pre>
  
  <p>Menu again if they choose the options L J or N, therefore the user would then have to choose another letter again or choose to exit. Also I'm not sure I implemented case 'E' correctly but I think that is how I can show the previous login screen to the user again, so if someone could confirm that for me that would be great!</p>
  
  <pre><code>System.out.println("--------Login Screen--------");
  
  System.out.println("Enter C for client and E for employee: ");
  
  String login= s.nextLine();
  
  if("C".equals(login)) {
      System.out.println("Welcome to the client screen");
      System.out.println("There are 3 Lotteries (Lotto, Jackpot and National)");
      System.out.println("Please select one (L, J, N) or E to exit: ");
      String select= s.nextLine();
  
      switch(select){    
          case "L": 
                   break;
          case "J": 
                   break;
          case "N": 
                   break;   
          case "E": System.out.println("--------Login Screen--------");
                    System.out.println("Enter C for client and E for employee: ");
                    login= s.nextLine();  
                   break;
          default: System.out.println("Invalid Selection");
                   break;
      }
  }
  </code></pre>