Boolean operators (&& || !) won't work


#1

I am stuck on this topic of Boolean operators (&& || !) plz tell me what I'm doing wrong

Boolean Operators: Precedence

It keeps saying : Almost! Did you use each Boolean operator no more than once?

Replace this line with your code. 

public class Precedence {
	public static void main(String[] args) {

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

	}
}


#2

Your supposed to type the true false words right? Or just to boolean oprerator?


#3

u are supposed to use Boolean operators to get an output of false, and I tried true / false and numbers and both said the same thing


#5

this problem is happening to me too


#6

The SCT expects an expression, not just false. The leading parenthesis might be the problem. Check all the brackets.


#7

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