I have tried this multiple ways, even though the program runs, lesson is not allowing me to move on


#1

Hi I have tried this multiple ways, even though the program runs, lesson is not allowing me to move on.
Not sure what I am doing wrong. Please help.

  1. Code runs, but cannot move on to next step.
    // ( 3 >= 3 && !(true || true) )
    boolean tricky=(3 >= 3 && !(true || true));
    2.Code runs, but cannot move on to next step.
    // ( 3 >= 3 && !(true || true) )
    System.out.println( 3 >= 3 && !(true || true) );
    boolean tricky=(false);

Generalisation and conditionals (GeneralizationsB.)
#2

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