id/email
password
forgot password
about | help | done | prefs | create account
JavaBat java practice problems

Logic-1 > lessBy10
prev  |  next  |  chance

Given three ints, a b c, return true if one of them is 10 or more less than one of the others.

lessBy10(1, 7, 11) → true
lessBy10(1, 7, 10) → false
lessBy10(11, 1, 7) → true

...Save, Compile, Run

See Also: Example Code Java help: If Boolean Logic | Strings | While and For Loops | Arrays and Loops


prev  |  next  |  chance   |  JavaBat  >  Logic-1

Forget It! -- delete my code for this problem 148.0

Copyright Nick Parlante 2006-09 - privacy