title: What data type to use if user is asked to input integers and letters?
body: <p>I am new in programming. My instructor gave me a special project about number base.</p>
  
  <p>Since the higher number base are a combination of integers and letters, I'm still confused if I should use <code>int</code> and/or <code>char</code>.</p>
  
  <pre><code>import java.util.Scanner;
  public class JavaProgram {
      public static void main(String[] args) {
          Scanner in = new Scanner(System.in);
  
          System.out.print("Enter the base you want to convert and base to be converted: ");
          int firstBase = in.nextInt();
          int secondBase = in.nextInt();
  
          switch(firstBase) {
              case 2:
                  System.out.print("Enter value: ");
                  // I get confused here already
              case 3:
              case 4:
              case 5:
              case 8:
              case 10:
              case 12:
              case 16:
              case 20:
              case 24:
              case 26:
              case 27:
              case 30:
              case 32:
              case 36:    
          }
  
          in.close();
      }
  }
  </code></pre>