Difference between revisions of "CSC270 Homework 4 Solution 2011"
Line 5: | Line 5: | ||
=Problem #1= | =Problem #1= | ||
+ | ==Logic Diagrams== | ||
Here are some pictures from Tiffany's answers. | Here are some pictures from Tiffany's answers. | ||
<br /> | <br /> | ||
Line 49: | Line 50: | ||
main() | main() | ||
− | + | </pre></code> | |
− | + | ==Output== | |
− | + | <code><pre> | |
+ | a b c | f | ||
+ | ------+--- | ||
+ | 0 0 0 | 0 | ||
+ | 0 0 1 | 0 | ||
+ | 0 1 0 | 0 | ||
+ | 0 1 1 | 1 | ||
+ | 1 0 0 | 0 | ||
+ | 1 0 1 | 1 | ||
+ | 1 1 0 | 1 | ||
+ | 1 1 1 | 1 | ||
</pre></code> | </pre></code> |