Hey guys

i've just started learning C++ and im stuck with boolean

in the tutorial it shows:

When i put one of these in Dev-C++ tells me: expected unqualified-id before '!' tokenCode:A. !( 1 || 0 ) ANSWER: 0 B. !( 1 || 1 && 0 ) ANSWER: 0 (AND is evaluated before OR) C. !( ( 1 || 0 ) && 0 ) ANSWER: 1 (Parenthesis are useful)

if someone could tell me what i am doing wrong it would be great.

Thanks

P.S sorry huys, i accidently posted this twice

My apologies