ok gotcha I typed that in wrong I was watching the Laker Magic Game lol Thank you to everyone who bothered to help me out.
Type: Posts; User: Cyris
ok gotcha I typed that in wrong I was watching the Laker Magic Game lol Thank you to everyone who bothered to help me out.
man you just told me the same thing my sister said. so the reason
C. !( ( 1 || 0 ) && 0 ) ANSWER: 1 (Parenthesis are useful)
is because its 1 OR 0 evalutes to 1 then the outer parenthesis...
wait so the logical Not or "!" is looking for the input of zero from the if statement if the logical Not doesn't get zero from the if statement it returns a zero but if it gets zero it returns a 1....
let me got back and restudy that part of lesson 2 to see if I can figure out how they got the answer they got for the question in the quiz of that lesson.
I am having real trouble understanding these NOT AND and OR Statement in lesson 2 of the C++ tutorial. Cprogramming.com Tutorial: If Statements
I wondering if the input is true why does it return...