Boolean operators precedence


#1

boolean riddle =( !( 1 < 8) || (5 < 2) && (3 < 5)
this is what I wrote so far and it jeeps saying...

"Almost! Did you use each Boolean operator no more than one time?"

and it doesn't seem possible...


#2

There's a parentheses missing at the end, isn't it?


#3

oh, my bad. there is parentheses


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.