Gmail
Gmail
1 message
#include <cs50.h>
#include <stdio.h>
// Array of candidates
candidate candidates[MAX_CANDIDATES];
// Function prototypes
bool vote(int voter, int rank, string name);
void tabulate(void);
bool print_winner(void);
int find_min(void);
bool is_tie(int min);
void eliminate(int min);
printf("\n");
}
// Return true if the election is tied between all candidates, false otherwise
bool is_tie(int min)
{
// TODO
return false;
}