¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita0
I'm trying to solve the Halloween Candy challenge.
I've successfully printed out the correct answer but the challenge wants the answer in rounded decimal number, so my output of 66.7 was rejected because the needed output is 67? Please how do I solve this using C?
7 Respuestas
+ 1
Hey did u get the output
+ 1
Jim Ezesinachi how? Help me I'm not getting answer
+ 1
Jim Ezesinachi i got the right output
0
Coder Kitten I did. But it rounded 66.7 down to 66
0
Where do I put the int ceil?
0
Thanks guys. It worked
0
Roopam What output are you getting?