Wednesday, March 9, 2011

ex 2.1 true or false!...

(4 >= 6 || "grass" != "green") && !(12 * 2 == 144 && true)
 
As we can see here, we have 2 main comparisons, being compared, an or and nand situation.
The solution for the or is between false or true, and that is true.
The inside and is not false and true which is true or not false.
And finally the main and between true and true, with a result of true
 
:) is a nice ex for the brain, could there be any other like this with trues and false online...
hardest logic puzzle ever
this is not one but its an interesting read!.

No comments:

Post a Comment