An Electronic Voting Booth

Agatha, Bartholomew, Cornelia, Delmer, and Elmira are all the members of a small science club. Both Agatha and Bartholomew would like to be the president of the club. Cornelia, Delmer, and Elmira will vote to see who will be the president. Each votes "1" to indicate Agatha, or "0" to indicate Bartholomew. Draw a circuit whose inputs are C, D, E (each a value of 0 or 1 indicating the votes of Cornelia, Delmer, and Elmira), and whose output is 1 if Agatha wins, and 0 if Bartholomew wins.

Solution: