I'm working on plurality on pset3, and so far I haven't edited any code, but whenever I try enter a vote it comes back as 'invalid vote'. Is this normal? And if so what should I do to solve this bit.
1 Answer
It is normal. If you take a close look at the code provided, the vote function for now returns false and the main function will print invalid vote if the return value is false. Once implemented, the vote function should return false if the vote is invalid.
Hope this helps. If it does then please check the tickmark.