how to do it?

Write the logical opposite of this if-statement, applying DeMorgan's Theorem: if (a == 1 || a == 2) .
Last edited on
if(a !=1 && a!=2)
Topic archived. No new replies allowed.