programming
Adding Two Numbers Using Only NAND Gates
It's possible to build any kind of digital logic using a single type of logic gate: either NAND gates, or NOR gates. A NAND gate takes two input bits (A and B) and produces one output bit according to this simple rule: "0 if both inputs are