0

Somethingls wrong with my code bit

It works fine with a complier but there is a mistake in hidden cases https://code.sololearn.com/cibpTKPyFKBO/?ref=app

23rd Dec 2021, 1:29 PM
Lalala
Lalala - avatar
2 Answers
+ 3
You have to round off the price to nearest whole number https://code.sololearn.com/cmgx7u0mBAtM/?ref=app
23rd Dec 2021, 2:09 PM
Atul
Atul - avatar
0
Atul so round is auto saved function in cmath library
23rd Dec 2021, 2:58 PM
Lalala
Lalala - avatar