Ok, please, can you help me again with my code. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Ok, please, can you help me again with my code.

So, I have another problem with fees (the second task in Kotlin course after quiz #2) well, the 4th test case doesn't seem to work. And I do not know why. Other cases work perfect. What's wrong? https://code.sololearn.com/cxgn0RI9HvLp/?ref=app

15th Nov 2021, 11:39 AM
SelfyTheMentalist
SelfyTheMentalist - avatar
2 Answers
+ 4
SelfyTheMentalist Read this line: -the first 5 hours are billed at $1 per hour. There should be hours * 1.0
15th Nov 2021, 11:43 AM
A͢J
A͢J - avatar
+ 2
A͢J - S͟o͟l͟o͟H͟e͟l͟p͟e͟r͟ oh gosh, I haven't noticed, thanks a lot
15th Nov 2021, 11:56 AM
SelfyTheMentalist
SelfyTheMentalist - avatar