// Let "start" be lower bound of range and "end" be upper bound of range
// Let target be the target number
if( target >= start && target <= end)
//--- If Statement --//
int num = 5;
//random values; can be changed
int a = 3;
int b = 7;
if (num >= 3 && num <= 7) {
//Your Code Here
}
//================
//--- Boolean Variable --//
int num = 5;
//random values; can be changed
int a = 3;
int b = 7;
boolean isInRange = num >= a && num <= b;