| about | help | done | prefs | create account |
Java > Warmup-1 > in3050
prev | next | chance
| Given 2 int values, return true if they are both in the range 30..40 inclusive, or they are both in the range 40..50 inclusive.
in3050(30, 31) → true in3050(30, 41) → false in3050(40, 50) → true ...Save, Compile, Run See also Java Example Code. Java help docs: If Boolean Logic | Strings | While and For Loops | Arrays and Loops |
Forget It! -- delete my code for this problem 175.0
Copyright Nick Parlante 2006-10 - privacy