Can anyone help me with this code šŸ™šŸ»!?? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 8

Can anyone help me with this code šŸ™šŸ»!??

https://sololearn.com/compiler-playground/c66oEGB1PKzO/?ref=app

1st Apr 2024, 10:33 AM
~Miyamura
8 Respostas
+ 5
round() rounds to the nearest integer. That is not necessarily rounding UP. You need to use the ceil() function in the math library.
1st Apr 2024, 11:35 AM
Gordie
Gordie - avatar
+ 3
You need to round UP to the nearest integer.
1st Apr 2024, 11:12 AM
Gordie
Gordie - avatar
+ 2
I did with the built-in func -> round()
1st Apr 2024, 11:22 AM
~Miyamura
+ 2
Still three cases are failed and the problem is that the test cases are locked
1st Apr 2024, 11:23 AM
~Miyamura
+ 2
Ohh okk , i'll try , thanks for the help
1st Apr 2024, 1:24 PM
~Miyamura
+ 2
You're welcome :)
1st Apr 2024, 1:28 PM
Gordie
Gordie - avatar
+ 1
Heyyy , thanks
1st Apr 2024, 1:29 PM
~Miyamura
+ 1
It worked !! Thanks alot šŸ˜
1st Apr 2024, 1:29 PM
~Miyamura