I need to build a logic circuit that indicates when a majority “yes” vote occurs for three voters. I can only use "and" and "or" gates with only three input wires. The gates can be in parallel. One input can power more than one gate, IE three inputs could power four gates. When 2 of 3 inputs are connected to positive an LED will light up and when any 2 inputs are connected to ground then the LED will stay off. Any help would be incredibly helpful.
-
Y=(A&B) U (B&C) U (C&A)
where A,B&C are inputs
& is and gate
U is or gate
where A,B&C are inputs
& is and gate
U is or gate