Hi guys! I need to get the highest value of a few variables. I don't like to use if because I have to compare all the values to each other and it's very clumsy.
And one more question - how can I easily check if two or more of the values are the same because there "will be two highest values" but in this case I want to chose randomly one (because the code goes wrong and no value is chosen in this case).
The values are stored in Votes[5], Votes[7], Votes[9], Votes[11], Votes[15].