0
Parking Fee CODE PROJECT 17
https://code.sololearn.com/chdRl2729jIq/?ref=app There is no apparent error, yet 3 test cases fail. Original problem: KOTLIN PARKING FEE
7 Answers
+ 2
+ 1
Daljeet Singh Yes !
+ 1
It gives answer as 38.0 it is wrong... I ignored the "for each 24" hrs !
0
I thought you got it working is the problem same as here?
https://www.sololearn.com/Discuss/3090436/?ref=app
0
Daljeet Singh In the original problem 3 hidden test cases are failing
0
// moving from thread posed earlier
What if hrs are 70 will your code work
// total = ((hours -24)*0.5) + 15.0
0
Good to know
Happy coding :)