Changeset 93381495e19b…
Parent 5923ba3076d8…
by Benjamin Pollack
Changes to 4 files · Browse files at 93381495e19b Showing diff from parent 5923ba3076d8 Diff from another changeset...
@@ -13,5 +13,6 @@ OUT out;
PARTS:
- // Put your code here:
+ Nand(a=a, b=b, out=w);
+ Nand(a=w, b=w, out=out);
}
|
@@ -12,5 +12,5 @@ OUT out;
PARTS:
- // Put your code here:
-}
\ No newline at end of file+ Nand(a=in, b=in, out=out);
+}
|
@@ -12,5 +12,8 @@ OUT out;
PARTS:
- // Put your code here:
+ Not(in=a, out=nota);
+ Not(in=b, out=notb);
+ And(a=nota, b=notb, out=w);
+ Not(in=w, out=out);
}
|
@@ -12,5 +12,9 @@ OUT out;
PARTS:
- // Put your code here:
-}
\ No newline at end of file+ Not(in=a, out=nota);
+ Not(in=b, out=notb);
+ And(a=a, b=notb, out=w1);
+ And(a=nota, b=b, out=w2);
+ Or(a=w1, b=w2, out=out);
+}
|
Loading...