andi logic gate code example
Example: AND gate
AND GATE:
|A|B|Y|
|0|0|0|
|0|1|0|
|1|0|0|
|1|1|1|
// A: first Input
// B: Second Input
// Y: Output
AND GATE:
|A|B|Y|
|0|0|0|
|0|1|0|
|1|0|0|
|1|1|1|
// A: first Input
// B: Second Input
// Y: Output