From cc769ec1ddb92ee2d20c68834f2b7725dba43e6d Mon Sep 17 00:00:00 2001
From: Fudgerboy <91767657+Fudgerboy@users.noreply.github.com>
Date: Mon, 19 Feb 2024 20:23:57 +0000
Subject: Mon, Feb 19, 2024, 12:23 PM -08:00

---
 wk3/pset/runoff/runoff.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

(limited to 'wk3/pset')

diff --git a/wk3/pset/runoff/runoff.c b/wk3/pset/runoff/runoff.c
index 5d540a5..4cc566e 100644
--- a/wk3/pset/runoff/runoff.c
+++ b/wk3/pset/runoff/runoff.c
@@ -141,9 +141,13 @@ bool vote(int voter, int rank, string name)
 // Tabulate votes for non-eliminated candidates
 void tabulate(void)
 {
-    for (int i = 0; i < MAX_VOTERS; i++)
+    for (int i = 0; i < voter_count; i++)
     {
-        
+        // Query for each rank
+        for (int j = 0; j < candidate_count; j++)
+        {
+            if (preferences[i][j] )
+        }
     }
     return;
 }
-- 
cgit v1.2.3