Code:
if (45<rf<35)
{
         System.out.println("Bad right front tire pressure");
}
Wouldn't doing something like this be completely valid in C++? (The 45<rf<35 thing)

All it's giving me in Java is errors.

What's a simple workaround that doesn't take another if statement? I couldn't think of any.

Thanks!

(The 45<rf<35 would mean "if rf is greater than 45 or less than thirty five")
(Oh wait, could I just use an or (||) for that?)