RosettaCodeData/Task/Documentation/Unicon/documentation-3.unicon
2025-08-11 18:05:26 -07:00

7 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)