Wouldn't doing something like this be completely valid in C++? (The 45<rf<35 thing)Code:if (45<rf<35) { System.out.println("Bad right front tire pressure"); }
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?)
Results 1 to 5 of 5
Thread: Lolwut? (Java help?)
Threaded View
- 24 Nov. 2012 11:59pm #1
- Join Date
- Apr. 2010
- Location
- When freedom is outlawed only outlaws will be free
- Posts
- 5,113
- Reputation
- 195
- LCash
- 0.00
Lolwut? (Java help?)