Derive the truth table for a majority function which is generated in a combinational
circuit with 3 input. The output is one greater than then input if the input has more Os
than 1s. The output is one less the input otherwise.
From the given problem statement How many output are needed to design the circuit?
Can you please explain how to get the answer? Thank you!