The two initial statement below are both true. The few parentheses could be omitted from the first statement.
((4 >=6) || (“grass” != “green)) && !(((12*2) == 144) && true)
((false) || (true)) && !(((24 == 144 )&& true)
((false) || (true)) && !((false)&& true)
((false) || (true)) && !((false)&& true)
(true)&&!(false)
(true) && (true) returns true because both values are true
(4 >= 6 || “grass” != “green”) && ! (12 * 2 == 144 && true)
(false || true) && !(false && true)
true && !(false)
true && true
No comments:
Post a Comment