Boolean Logic

Write a program that parses a boolean expression e.g. P = (NOT A) AND B producing the correct truth table.

 

Can you expand this program so it can draw thew circuit?  

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.