Aug 27, 2025 11:36 AM
(This post was last modified: Aug 27, 2025 11:40 AM by schassis.)
i do not understand them in the slightest
ill start with A, i read it as "not or 1 or 0 so it must equal 0" like how in the fuck does that work?!
i dont understand "!" either; if true: false, if false: true. like what the hell??? why???
Code
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)ill start with A, i read it as "not or 1 or 0 so it must equal 0" like how in the fuck does that work?!
i dont understand "!" either; if true: false, if false: true. like what the hell??? why???



