public class Solution {
    public static void main(String[] args) {
        checkInterval(60);
        checkInterval(112);
        checkInterval(10);
    }

    public static void checkInterval(int a) {

        if(a < 50 || a > 100){
            System.out.println("The number a is not in the interval.");

        }
        else{
            System.out.println("The number a is in the interval.");
        }
    }
}
I don't get it, why is the last bit failing? This happened on the same question before, I got the output right..?