-1

I'm not sure why my program is failing check50, when I run my own tests it does seem to print multiple winners, but check50 says it doesn't print multiple winners

[removed solution code]

4
  • could it be simply a typo? Look carefully at the 2 printf statements in print_winner and you should see that the second one will not produce the exact result that check50 is comparing. – DinoCoderSaurus Nov 13 '20 at 16:35
  • I can't believe it was as simple as that... thank you so much haha, I did this program a few weeks ago and keep coming back to it when I finish other problem sets, can't believe I didn't notice that, thanks 👍 – gudge_on Nov 13 '20 at 16:42
  • Would one of you like to post an answer so this question can be closed out please? – Cliff B Nov 14 '20 at 23:01
  • Yeah sorry, I’ll do that now or if you answer it Dino I’ll click as that being the helpful answer or whatever - sorry new to this site – gudge_on Nov 15 '20 at 8:29
0

Accidentally left a space in the printf function after the candidate name

You must log in to answer this question.

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