code doesn't compile/run. It's supposed to show the total votes for both candidates, regardless of which button the user clicks on.

Printable View