how do I check if a specific integer is within a specific range?
What I mean is if int total is between 20 and 39 (30) it doesn't go to 0-19 neither 40-69
how do I check if a specific integer is within a specific range?
What I mean is if int total is between 20 and 39 (30) it doesn't go to 0-19 neither 40-69
if (total >= 20 && total <= 39) {
//do some stuff
}