diff options
author | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2024-02-19 22:05:31 +0000 |
---|---|---|
committer | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2024-02-19 22:05:31 +0000 |
commit | 65850db3203ca210ea5dde2475c7ed361934b36c (patch) | |
tree | 2e1440b07f2414f6b1b86cb5e7b66bb400b1f364 /wk3/pset/runoff/runoff.c | |
parent | 5a39edd182eb9ce6babf87e48560d19551b3267a (diff) |
Mon, Feb 19, 2024, 2:05 PM -08:00
Diffstat (limited to 'wk3/pset/runoff/runoff.c')
-rw-r--r-- | wk3/pset/runoff/runoff.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/wk3/pset/runoff/runoff.c b/wk3/pset/runoff/runoff.c index ae69ce3..a959a2c 100644 --- a/wk3/pset/runoff/runoff.c +++ b/wk3/pset/runoff/runoff.c @@ -169,6 +169,7 @@ bool print_winner(void) if (candidates[i].votes > (voter_count / 2)) { printf("%s\n", candidates[i].name); + return true; } } return false; |