3.3.4. A Simulator for Digital Circuits
An or-gate as a primitive function box
Define an or-gate as a primitive function box. Your
or-gate
constructor should be similar to
and-gate
.
Nobody's finished this exercise yet. You'll be the first!