Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
1 answer
21 views

pset 3 Tideman - vote function works differently using check50 than manual testing

My code for the vote function is as follows: bool vote(int rank, string name, int ranks[]) { // TODO for (int i = 0; i < candidate_count; i++) { if (strcmp(candidates[i], name) =...
Oscar Harding's user avatar