summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wk3/pset/runoff/runoff.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/wk3/pset/runoff/runoff.c b/wk3/pset/runoff/runoff.c
index f6acc50..0868008 100644
--- a/wk3/pset/runoff/runoff.c
+++ b/wk3/pset/runoff/runoff.c
@@ -176,11 +176,17 @@ bool print_winner(void)
*/
/*
- for (candidates) {
- if (candidates.votes >= (voter_count / 2)) {
+ for (candidates)
+ {
+ if (candidates.votes >= (voter_count / 2))
+ {
printf("%s", candidate.name);
return true;
- } else if ()
+ }
+ else if ()
+ {
+
+ }
}
*/
return false;