summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wk3/pset/runoff/runoff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/wk3/pset/runoff/runoff.c b/wk3/pset/runoff/runoff.c
index 0868008..f3e31b2 100644
--- a/wk3/pset/runoff/runoff.c
+++ b/wk3/pset/runoff/runoff.c
@@ -176,7 +176,7 @@ bool print_winner(void)
*/
/*
- for (candidates)
+ for (int i = 0; i < candidate_count; )
{
if (candidates.votes >= (voter_count / 2))
{
@@ -185,7 +185,7 @@ bool print_winner(void)
}
else if ()
{
-
+
}
}
*/