diff options
author | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2024-02-19 04:52:34 +0000 |
---|---|---|
committer | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2024-02-19 04:52:34 +0000 |
commit | 4f5ecbbcfb5658389e2de321f5c8a16ce26f1ec3 (patch) | |
tree | 569e777ed9e19b31be37f659b0599c313b6dd27a /wk3 | |
parent | 8fd65c2336e7d79d460fa79f92cab30004acfa30 (diff) |
Sun, Feb 18, 2024, 8:52 PM -08:00
Diffstat (limited to 'wk3')
-rw-r--r-- | wk3/pset/plurality/plurality.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/wk3/pset/plurality/plurality.c b/wk3/pset/plurality/plurality.c index 1d24fa8..48aedd6 100644 --- a/wk3/pset/plurality/plurality.c +++ b/wk3/pset/plurality/plurality.c @@ -68,6 +68,7 @@ bool vote(string name) { for (int i = 0; i < candidate_count - 1; i++) { + printf("candidate is %s\n", candidates[i].name); if (name == candidates[i].name) { candidates[i].votes++; |