0
Pls help me out, I don't know why this code won't pass test 3, 5 and 6.
4 ответов
+ 4
Pay attention to this condition:
— "for each 24 hours, there is a flat fee of $15".
+ 2
No, this means that for every next 24 hours a flat fee of $15 will be charged, that is, 15 × 2 + 2 dollars will be charged for 50 hours.
+ 1
Abdul-Quadri Jinad
What will happen if you park for 3+ days.
Test against your code to understand Vasiliy explanation
0
Yh, that means if the hours is more than 24, that'll be 15 + the remaining hours * 1 if the remainder is less than 5 right?