summaryrefslogtreecommitdiff
path: root/wk3/pset
diff options
context:
space:
mode:
authorFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2024-02-19 21:29:25 +0000
committerFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2024-02-19 21:29:25 +0000
commit6595d5c455765832d2f77d64472add335a52f252 (patch)
tree90fd33b8ef03103feeffa444e0cb31c02da21b1e /wk3/pset
parent3de64cf7d952ec8435e6504c58dfb29c75558890 (diff)
Mon, Feb 19, 2024, 1:29 PM -08:00
Diffstat (limited to 'wk3/pset')
-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 ()
{
-
+
}
}
*/