mirror of https://github.com/me50/kukemuna.git
automated commit by submit50
This commit is contained in:
parent
1aa9ac6167
commit
b74b5c107c
4
runoff.c
4
runoff.c
|
|
@ -1,7 +1,7 @@
|
|||
#include <cs50.h>
|
||||
#include <math.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
|
||||
// Max voters and candidates
|
||||
#define MAX_VOTERS 100
|
||||
|
|
@ -194,7 +194,7 @@ bool is_tie(int min)
|
|||
{
|
||||
if (candidates[i].votes == min && !candidates[i].eliminated)
|
||||
{
|
||||
tie = true;;
|
||||
tie = true;
|
||||
}
|
||||
else if (candidates[i].votes != min && !candidates[i].eliminated)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue