title: Beginner java, "Required: int. Found: Boolean"?
body: <p>Here's my code. I can't figure out what I messed up.
  It says age is a boolean instead of an int and I don't know why.</p>
  
  <pre><code>import java.util.Scanner;
  public class F_DoIRemember {
  
      public static void main(String args[]){
        int age;
        Scanner inp = new Scanner(System.in);
        System.out.println("What is your age?");
        age = inp.nextInt();
                switch(age){
  
                    case(age&lt;5):
                        System.out.println("Are you learning how to tie your shoes?");
  
                    case(age==5):
                        System.out.println("You know how to tie your shoes!");
  
                    case(age&gt;5):
                        System.out.println("YOU BETTER KNOW HOW TO TIE YOUR SHOES!");
             }
        }
   }
  </code></pre>