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

7th Oct 2022, 7:11 AM
Sanjay Kamath
Sanjay Kamath - avatar
7 Respostas
8th Oct 2022, 4:05 AM
Sanjay Kamath
Sanjay Kamath - avatar
+ 1
Daljeet Singh Yes !
7th Oct 2022, 11:19 AM
Sanjay Kamath
Sanjay Kamath - avatar
+ 1
It gives answer as 38.0 it is wrong... I ignored the "for each 24" hrs !
7th Oct 2022, 2:55 PM
Sanjay Kamath
Sanjay Kamath - avatar
0
I thought you got it working is the problem same as here? https://www.sololearn.com/Discuss/3090436/?ref=app
7th Oct 2022, 7:40 AM
Daljeet Singh
Daljeet Singh - avatar
0
Daljeet Singh In the original problem 3 hidden test cases are failing
7th Oct 2022, 1:20 PM
Sanjay Kamath
Sanjay Kamath - avatar
0
// moving from thread posed earlier What if hrs are 70 will your code work // total = ((hours -24)*0.5) + 15.0
7th Oct 2022, 1:55 PM
Daljeet Singh
Daljeet Singh - avatar
0
Good to know Happy coding :)
8th Oct 2022, 5:47 AM
Daljeet Singh
Daljeet Singh - avatar