Set the boolean variable tricky equal to the result (either true or false).how i solve this


#1



Replace this line with your code.


#2

set the boolean variable tricky equal to the result (either true or false).how i solve this


#3

Please post your code.


#4
( 3 >= 3 && !(true || true) ;
boolean tricky = true || false;

#5

Which excercise are you on?


#6

11/11,Conditionals and Control Flow


#7
// ( 3 >= 3 && !(true || true) ) 
	boolean tricky = false;

Run it like this the top part should be comment that's why you're getting an error you're just supposed to evaluate the comment and decide whether it is true or false


#8

thank u so much.i did it


#9

:+1: You're welcome.