Why can\'t do you this if you try to find out whether an int is between to numbers:
if(10 < x < 20)
Instead of it, you\'ll have to do
simplifying:
a = 10; b = 15; c = 20 public static boolean check(int a, int b, int c) { return a<=b && b<=c; }
This checks if b is between a and c