Explore what CodeHS has to offer for districts, schools, and teachers.
Click on one of our programs below to get started coding in the sandbox!
View All
Laws that define how we can negate an AND statement and how we can negate an OR statement. De Morgan's Laws simply state: 1. `!(a && b)` is equivalent to `!a || !b` 2. `!(a || b)` is equivalent to `!a && !b` where `a` and `b` are boolean values