title: Switch statement in Java
body: <p>Basically I need to take a letter A-Z and convert it to Leek(a combo of sign,#,letter that look like the A-Z characters. I'm only allow to use switch statements (switch,case,breaks) also I have to use the .next().charAt(0) method.</p>
  
  <p>When I try to compile my program it comes up with multiple error all reading "can not find symbol" pointing at the a-z character I used in the case statement.</p>
  
  <pre><code>import java.util.Scanner;
  
  public class dlin_Leet
  {
      public static void main(String args[])
      {
          Scanner input = new Scanner(System.in);
  
          char character;//input by user
          String Leet;
  
          System.out.print("Enter character to convert:");
          String Leet = input.next();
          char character = Leet.charAt(0);
  
          switch (character)
          {
              case a: Leet = "4";
                  break;
              case b: Leet = "I3";
                  break;
              case c: Leet = "[";
                  break;
              case d: Leet = ")";
                  break;
              case e: Leet = "3";
                  break;
              case f: Leet = "|=";
                  break;
              case g: Leet = "&amp;";
                  break;
              case h: Leet = "#";
                  break;
              case i: Leet = "1";
                  break;
              case j: Leet = "J";
                  break;
              case k: Leet = "|&lt;";
                  break;
              case l: Leet = "1";
  
               }
          System.out.println(Leet);
      }
  }
  </code></pre>