summaryrefslogtreecommitdiff
path: root/wk3/pset/runoff/runoff.c
diff options
context:
space:
mode:
authorFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2024-02-19 20:44:09 +0000
committerFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2024-02-19 20:44:09 +0000
commitbf105e7f446d2808eb5bb3e854762f0f593efebe (patch)
tree903f81ac1e72b7ebe166e3363f39fa3a556aa5a4 /wk3/pset/runoff/runoff.c
parent3d6c6996e809f0de44f7bd3273fec31f59d6d41e (diff)
Mon, Feb 19, 2024, 12:44 PM -08:00
Diffstat (limited to 'wk3/pset/runoff/runoff.c')
-rw-r--r--wk3/pset/runoff/runoff.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/wk3/pset/runoff/runoff.c b/wk3/pset/runoff/runoff.c
index 6c06509..0fbb055 100644
--- a/wk3/pset/runoff/runoff.c
+++ b/wk3/pset/runoff/runoff.c
@@ -166,8 +166,12 @@ bool print_winner(void)
{
// go through each candidate
// if they have more than 50% of the votes they win
- //
- // print winner
+ // print winner
+ // return true;
+ // else
+ // filter through all candidates
+ // see who has the least votes and eliminate them
+ // return false;
return false;
}