resumos/cursos/cs50/all-challenges/problems/runoff/runoff.c
int find_min(void)
{
    int actualLess = voter_count;

    for (int i = 0; i < candidate_count; i++)
    {
        if (candidates[i].votes < actualLess && !candidates[i].eliminated)
        {
            actualLess = candidates[i].votes;
        }
    }

    return actualLess;
}
// Return the minimum number of votes any remaining candidate has

Return the minimum number of votes any remaining candidate has
Return the minimum number of votes any remaining candidate has
int find_min(void)
{
    int actualLess = voter_count;
    for (int i = 0; i < candidate_count; i++)
    {
        if (candidates[i].votes < actualLess && !candidates[i].eliminated)
        {
            actualLess = candidates[i].votes;
        }
    }
    return actualLess;
}
int find_min ( void ) { int actualLess = voter_count ; for ( int i = 0 ; i < candidate_count ; i ++ ) { if ( candidates [ i ] . votes < actualLess && ! candidates [ i ] . eliminated ) { actualLess = candidates [ i ] . votes ; } } return actualLess ; }
Return the minimum number of votes any remaining candidate has
Return the minimum number of votes any remaining candidate has