+ 1

Why is even (True==False) or True is equal to True

8th Apr 2017, 10:12 AM
Nipun Grover
Nipun Grover - avatar
4 Answers
+ 14
(True == False) or True (False) or True True
8th Apr 2017, 10:24 AM
Hatsy Rei
Hatsy Rei - avatar
+ 11
Is 1==0? Answer is 'no'. no == false (false) or true == true
8th Apr 2017, 10:21 AM
Wisdom Abioye
Wisdom Abioye - avatar
+ 9
What wisdom said; then the compiler checks False||True statement, which is evaluated to be true, since one of the arguments is true. How the OR (||) operator works T||T=T T||F=T F||T=T F||F=F T~True F~False
8th Apr 2017, 10:23 AM
Pixie - avatar
+ 7
True==False results in False. This would break it down to True||False. The system is checking for a True output. So, if one of the options in a || condition is true, it is evaluated as true.
8th Apr 2017, 10:18 AM
Pixie - avatar