0

PSET3 Plurality: Although the problem itself isn't tough to solve but Check50 simply doesn't like the way I wrote it. I've been trying to pass the tests since an hour or more but I can't figure out what's wrong. Here's my code:

[code removed]

It'd be really helpful if anyone can point out why the code isn't passing check50 tests.

0

Your final line

printf("%s \n", candidates[j].name);

check50 is particular, and is expecting that if the name is "Annie" that you print

Annie and not

Annie as you are. See the problem?

1
  • Oh Dang!!! Thanks, Man. Much Appreciated.
    – Samarth
    Dec 6 '20 at 20:02

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .