#include
please help
There are some issues with your code. The first is the way you try to compare a variable with a number. In C++, if you say e.g. `count = 4`, you will assign the value of 4 to the variable count. If you want to check whether count is equal to 4, you'll need to use `==` instead of `=`. In the while loop, you want to check whether or not votingstations equals 4. Since votingstations is a constant, this will always be the case, so you have an infinite loop. `candidate` and `voters` are variables that are not defined in the bit of code you posted. Finally, you can't really compare strings (like `"chiefs"`, strings should be between `"`s) in a switch statement, I think. Nice job so far. There're still some minor issues, but you'll sort them out :)
Join our real-time social learning platform and learn together with your friends!