Can't get 5 to print false, i keep getting true


#1


#2

Hey @pxg1622! You got the boolean messud up. On the last one its suppose to be an or instead of an And.

So like this:

boolean riddle = !( 1 < 8 && (5 > 2 || 3 < 5));
System.out.println(riddle);

Hope this helped and

Have a Merry Christmass


#3

Thankyou !!!
Happy Holidays !


#4

i got the same prob .thanks to u amanuel2.