how to check to see if a value is one of many numbers code example Example: If statement that tests if a value is in range Click to copyif ((x >= xmin) && (x <= xmax)) { // something }