+ 1
A question regarding Halloween candy exercise, what's wrong with my code?
What are the three hidden test cases? Edited the code, now it works https://code.sololearn.com/cOqr4xp32dcL/?ref=app
3 odpowiedzi
+ 4
Output should be rounded to the nearest integer.
Try Math.Ceiling() method
+ 1
Thanks, that worked.
0
Indentation is also "what is wrong with my code"
Good habits are important.