Evaluate !(1 && !(0 || 1)).
NOT( 1 AND NOT (0 OR 1) )
Answer is True?
WHYYYY!?
How does this work?
Printable View
Evaluate !(1 && !(0 || 1)).
NOT( 1 AND NOT (0 OR 1) )
Answer is True?
WHYYYY!?
How does this work?
!(1 && !(0 || 1)) =
!(1 && !(TRUE)) =
!(1 && FALSE) =
!(FALSE) =
TRUE
It seems like I just saw this... but I don't remember the name of the thread. Anyone?
(0||1)==1
!1 == 0
1 && 0 == 0
!0 = 1
1= true
you saying it is homework? I guess we'll have to watch for this one in the future
I'd say it's either homework or a tutorial somewhere...
Anyway, I think it was within the past week or two, but I can't search for !(1&&!(0||1) so it would be a pain to find.
:eek:
I didnt see that, Thanks.
I never thought to evaluate it that way. I just kinda thought about it in my head till it hurt... LOL.
BTW, its in the tutorial quiz on this site.... I'm sure it comes up every couple weeks or so.
Haha, I guess we know where they're finding it now FYB ;)
http://cboard.cprogramming.com/showt...threadid=43414
that is it that you seen it from. i was the one that started it. and i got a lot of help :)