From ff238ce76fefc87174c458792eda49962939800d Mon Sep 17 00:00:00 2001 From: Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> Date: Mon, 19 Feb 2024 22:02:43 +0000 Subject: Mon, Feb 19, 2024, 2:02 PM -08:00 --- wk3/pset/runoff/runoff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wk3') 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; -- cgit v1.2.3