diff options
author | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2024-02-19 22:02:43 +0000 |
---|---|---|
committer | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2024-02-19 22:02:43 +0000 |
commit | ff238ce76fefc87174c458792eda49962939800d (patch) | |
tree | 9a8c8d1cb4de5476a8975d900bd3a9733a4529cd /wk3/pset/runoff/runoff.c | |
parent | 558ff3160355b197000de5c49c9090a83bd939d3 (diff) |
Mon, Feb 19, 2024, 2:02 PM -08:00
Diffstat (limited to 'wk3/pset/runoff/runoff.c')
-rw-r--r-- | wk3/pset/runoff/runoff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wk3/pset/runoff/runoff.c b/wk3/pset/runoff/runoff.c index 6fdfbe5..a193adf 100644 --- a/wk3/pset/runoff/runoff.c +++ b/wk3/pset/runoff/runoff.c @@ -168,7 +168,7 @@ bool print_winner(void) { if (candidates[i].votes > (voter_count / 2)) { - printf("%s", candidates[i].name); + printf("%s\n", candidates[i].name); } } return false; |