title: printing the switch case
body: <p>my question is pretty simple, what I want to do is print the switch case name that is set when the user enters the values . Lets assume that</p>
  
  <pre><code>   switch (name.toLowerCase()) {
              case "john":
                  salary = 12;
                  break loop;
  
              case "jack":
              case "jonathen":
                  salary = 6;
                  break loop;
  
              default:
                  System.out.println("\n\tWrong Name Dude!");
                  break;
  
          }
          System.out.print(name)
  </code></pre>
  
  <p>What i want to do is when the user enters john , or JOHN or JoHn i just want 'john' to be printed . Which is the case '  ' name . The issue is if i use the assigned string to print it , the to.lowercase will identify that it is "john" when "JoHn" is entered , but when printing it would print "JoHn" instead of "john" any suggestions ? </p>