Code:
So let me get this straight. When two balls fall into an AND gate, one ball falls out, but if only one ball falls into an AND gate, then no balls fall out, right? And if one or two balls fall into an OR gate, then one ball falls out? This is probably the first time I see an application of logic gates to such a contrived mechanical situation.
Correct.
The wording and problem itself is confusing to me because I have spent hours just contemplating on the wording of the question. My teacher is unavailable to comment on it as well. So I am interpreting this myself just as you are.