Here is a program for 5 logic gates, AOI gates and 2 universal gates. It has 2 inputs(except not gate which has only 1 input) that means 4 combinations (for not gate 2 cominations) will be there for 0 and 1, you can either see results by entering inputs by your own or the whole truth table of all the possible combinations (right now only 4 combinations). If anything can be added too ...do let me know. :)
nirmal314 / logicgates Goto Github PK
View Code? Open in Web Editor NEWAll the logic gates in a C program.