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

Logic-1 > inOrder
prev  |  next  |  chance

Given three ints, a b c, return true if b is greater than a, and c is greater than b. However, with the exception that if "bOk" is true, b does not need to be greater than a.

inOrder(1, 2, 4, false) → true
inOrder(1, 2, 1, false) → false
inOrder(1, 1, 2, true) → 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 139.0

Copyright Nick Parlante 2006-09 - privacy