54.0k views
0 votes
Which is not a correct boolean condition?

1) (x < y 7 == 9)
2) (y ! ≥ 9 || x == 9 )
3) (x == 9 || y != 9)
4) (!(x > y) y == 9)

User Tou Mou
by
8.1k points

1 Answer

7 votes

Final answer:

The correct Boolean condition is option 1) (x < y) 7 == 9. This is not a correct Boolean condition because it is missing an operator between (x < y) and 7 == 9.

Step-by-step explanation:

The correct Boolean condition is option 1) ((x < y) 7 == 9). This is not a correct Boolean condition because it is missing an operator between (x < y) and 7 == 9.

A correct Boolean condition evaluates to either true or false based on the comparison of values. In option 1), there is no operator connecting the two expressions, so it is not a valid Boolean condition.

User Dfmetro
by
7.7k points

No related questions found

Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.

9.4m questions

12.2m answers

Categories