Where is my mistake? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Where is my mistake?

I wonder where is my mistake in here. It didnt pass the hidden case. So idk what value it failed. https://code.sololearn.com/cORS8xGZ1Ze7/?ref=app

30th Aug 2020, 12:43 PM
Xtron135
Xtron135 - avatar
1 Answer
0
use : printf("%.f",ceil(total)); instead of : cout << total ;
30th Aug 2020, 1:14 PM
Bahhaⵣ
Bahhaⵣ - avatar