Cant pass the first step


#1



https://www.codecademy.com/courses/learn-java/lessons/conditionals-control-flow/exercises/generalizations-conditionals?action=resume


Replace this line with your code.


#2

Instruction:

Use the precedence rules to help you evaluate the Boolean expression in the single line comment above the tricky variable.

Then, set the boolean variable tricky equal to the result (either true or false).

so here

// ( 3 >= 3 && !(true || true) )

evaluate this.
if it'll be true then set the boolean variable tricky equal to true.like

boolean tricky = true;

and if it'll be false then set the boolean variable tricky equal to false.like

boolean tricky = false;


#3

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