Given three int
s first
, second
, and third
, return true
if second
is greater than first
and third
is greater than second
.
However, if secondOK
is true
, second
does not need to be greater than first
.
Stuck? You may find these lessons helpful: