automated commit by submit50

This commit is contained in:
kukemuna 2024-02-27 20:47:09 +02:00
parent 1aa9ac6167
commit b74b5c107c
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
#include <cs50.h> #include <cs50.h>
#include <math.h>
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <math.h>
// Max voters and candidates // Max voters and candidates
#define MAX_VOTERS 100 #define MAX_VOTERS 100
@ -194,7 +194,7 @@ bool is_tie(int min)
{ {
if (candidates[i].votes == min && !candidates[i].eliminated) if (candidates[i].votes == min && !candidates[i].eliminated)
{ {
tie = true;; tie = true;
} }
else if (candidates[i].votes != min && !candidates[i].eliminated) else if (candidates[i].votes != min && !candidates[i].eliminated)
{ {