change the output to the '*' output instead of the percentage.
I don't know what that means.
Do you mean "output a histogram"?
Why is array1 dimensioned as 1000 when you can only have 10 candidates?
Why is votes dimensioned as 10000 when you can only have 10 candidates?
PLEASE USE CODE TAGS (the <> formatting button) when posting code.
It makes it easier to read your code and also easier to respond to your post. http://www.cplusplus.com/articles/jEywvCM9/
Hint: You can edit your post, highlight your code and press the <> formatting button.