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.");