summaryrefslogtreecommitdiff
path: root/wk3/pset
diff options
context:
space:
mode:
Diffstat (limited to 'wk3/pset')
-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;
}