From 6595d5c455765832d2f77d64472add335a52f252 Mon Sep 17 00:00:00 2001 From: Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> Date: Mon, 19 Feb 2024 21:29:25 +0000 Subject: Mon, Feb 19, 2024, 1:29 PM -08:00 --- wk3/pset/runoff/runoff.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wk3/pset') 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 () { - + } } */ -- cgit v1.2.3