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
if (10 < x || x < 20)
This statement will evaluate true for numbers between 10 and 20. This is a rough equivalent to 10 < x < 20
10 < x < 20