8 lines
270 B
Text
8 lines
270 B
Text
|
|
#<p>
|
||
|
|
# Compute the percent of first-place votes a candidate has in the current
|
||
|
|
# round.
|
||
|
|
# <[param candidate - a candidate as a list [name,number of votes for first]>.
|
||
|
|
# <[returns percent of total votes that the candidate has]>
|
||
|
|
#</p>
|
||
|
|
procedure percentVote(candidate)
|