How to make logical OR with AND,and NOT?

前端 未结 5 1869
执念已碎
执念已碎 2021-01-08 01:42

How to create a logical OR with logical AND, and logical NOT?

5条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-08 02:05

    Check De Morgans's laws. You are looking for the Substitution form.

    P OR Q = NOT( (NOT P) AND (NOT Q) )
    

提交回复
热议问题