Asked • 05/14/19

Are || and ! operators sufficient to make every possible logical expression?

The logical expression `( a && b )` *(both `a` and `b` have boolean values)* can be written like `!(!a || !b)`, for example. Doesn't this mean that `&&` is "unneccesary"? Does this mean that *all* logical expressions can be made only using `||` and `!`?

1 Expert Answer


Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.


Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.