if statement that says if a variable is equal to a range of numbers code example Example: If statement that tests if a value is in range if ((x >= xmin) && (x <= xmax)) { // something }