X15: inOrder

Write a function in Java that implements the following logic: Given three ints, a, b, and 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.

Your Answer:


Practice a different Java exercise


Your feedback will appear here when you check your answer.