This post was updated on Sep 12, 2011; 1:05am.
I put together an AND gate via the NAND and Inverter components and all works fine until the last test where the input is 1,1 which should produce output of 1.
This is the code I used
*/
CHIP And {
IN a, b;
OUT out;
PARTS:
[Working code removed by admin.]
}
|