title: How to convert (abc) to a NAND gate?
body: <p>Using DeMorgans I get:</p>
  
  <pre><code>~~(abc)  // ~ is the not.
  </code></pre>
  
  <p>My problem is when I try to build the circuit the NAND gate takes only 2 inputs. So how would I split it for 3? If it was an AND gate I would just use two and the equation would be:</p>
  
  <pre><code>(a AND b) AND c
  </code></pre>
  
  <p>However, this will not work with my NAND, since</p>
  
  <pre><code>~((a NAND b) NAND c) != (abc)
  </code></pre>