Imagine a machine with four inputs and one output that functions as follows: the output is ON if exactly two of the inputs are one, and off otherwise. Draw a circuit that performs this function. Use a truth table to show that all possible input values produce the proper output.

Thanks..