% 'find which is the largest number of votes Dim mostvotes mostvotes = 0 For i = 1 to 8 If mostvotes < votes(i) Then mostvotes = votes(i) End If Next 'calculate the total number of votes Dim totalvotes totalvotes = 0 For i = 1 to 8 totalvotes = totalvotes + votes(i) Next %>
<% Response.Write(responses(i)) %> |
<%
If votes(i) <> 0 Then
%>
|