Comment Vote vs Response (Score 1) 149
if (vote == response)
poll.castVote("12+");
else
poll.castVote("1 to 3");
TNT
poll.castVote("12+");
else
poll.castVote("1 to 3");
TNT
You look it up online, you read and learn from what you find, then you make a simple project to test out what you've learned.
It is extremely sad how many "developers" can't do this very thing.
TNT
Do not underestimate the value of print statements for debugging. Don't have aesthetic convulsions when using them, either.