In the example, total number of votes is 10+35+7+10+25=87. The choices with the most votes, coffee and tea, each have 35 votes. 35/87 = .40229885 = 40.23% but the example shows 43.75% what am I doing wrong here?
I don't get it, I only manage to have the third test to work, the first and the second fail Is there a way to have the tested files for the first and the second test? Or to know what is the error we can have in the first and the second test and that is not present in the third test?
Thank you for the advice, I added a security on multiple space as I have seen in your example but it is not the problem, I still manage to have the third test to work. However the first and the second one are still failing.