What's wrong with this code in paint costs challenge? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What's wrong with this code in paint costs challenge?

What's wrong with this code in paint costs challenge? https://code.sololearn.com/c03dW0URjz4l/?ref=app https://code.sololearn.com/c03dW0URjz4l/?ref=app https://code.sololearn.com/c03dW0URjz4l/?ref=app

24th Jul 2020, 12:23 PM
Karim Fadi
Karim Fadi - avatar
3 Answers
+ 1
You're not rounding anything. There is a specific way to round required by the description.
24th Jul 2020, 12:29 PM
Sandra Meyer
Sandra Meyer - avatar
0
Steps need to change : Take totalSumWithoutTaxes as double or float. And apply ceil function on result. print equalent Integer value.
24th Jul 2020, 12:30 PM
Jayakrishna 🇮🇳
0
Round function will be used.
24th Jul 2020, 12:35 PM
shubham kumar
shubham kumar - avatar