summaryrefslogtreecommitdiff
path: root/wk3/pset/runoff
diff options
context:
space:
mode:
authorFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2024-02-19 20:20:47 +0000
committerFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2024-02-19 20:20:47 +0000
commit608f4aaf972024fd69d6a3e04021a72ee3d5d101 (patch)
treec74393a7c786c5caa0ebf95299713e6adfb77d33 /wk3/pset/runoff
parent17df1b297e72d3677094ad4862cb33f017112eff (diff)
Mon, Feb 19, 2024, 12:20 PM -08:00
Diffstat (limited to 'wk3/pset/runoff')
-rw-r--r--wk3/pset/runoff/runoff.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/wk3/pset/runoff/runoff.c b/wk3/pset/runoff/runoff.c
index f8a17fd..4295300 100644
--- a/wk3/pset/runoff/runoff.c
+++ b/wk3/pset/runoff/runoff.c
@@ -141,7 +141,10 @@ bool vote(int voter, int rank, string name)
// Tabulate votes for non-eliminated candidates
void tabulate(void)
{
- // TODO
+ for (int i = 0; i < candidate_count; i++)
+ {
+
+ }
return;
}