diff options
author | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2024-02-19 02:50:34 +0000 |
---|---|---|
committer | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2024-02-19 02:50:34 +0000 |
commit | b54175ba9acbd2b6f041dda6932b83f4a547bc99 (patch) | |
tree | f33589c975c72a39024636fd1cdcce7a5a72c01a /wk3/pset/plurality/plurality.c | |
parent | dfe022a9a2133cb376e5a5f3ceb89adc7d92a1b0 (diff) |
Sun, Feb 18, 2024, 6:50 PM -08:00
Diffstat (limited to 'wk3/pset/plurality/plurality.c')
-rw-r--r-- | wk3/pset/plurality/plurality.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wk3/pset/plurality/plurality.c b/wk3/pset/plurality/plurality.c index ea8ba9a..c8db427 100644 --- a/wk3/pset/plurality/plurality.c +++ b/wk3/pset/plurality/plurality.c @@ -93,7 +93,7 @@ void print_winner(void) //put it at the start of the new list winners[0] = candidates[i].name; } else if (winners[0] == candidates[i].name) { - for (int j = 1; j < candidate_count - 1; j++) + for (int j = 1;j < candidate_count - 1; j++) } } return; |