+ 5

Why doesn't this code work😵

I tried to solve driver's license it works but it can't solve 3&5 test cases please tell me what's wrong with my code and how to fix it https://code.sololearn.com/c1PBifnjSVGD/?ref=app

24th May 2020, 7:08 AM
Atoms~⚛
Atoms~⚛ - avatar
4 ответов
0
Your code must automatically evaluate all possible situations. That means what happens when the person becomes 9 in line and what if 25 and so on... First try perhaps to sketch a diagram of what your code must do.
24th May 2020, 7:47 AM
JaScript
JaScript - avatar
+ 3
What am I supposed to do now please tell me how can I fix this
24th May 2020, 7:27 AM
Atoms~⚛
Atoms~⚛ - avatar
+ 2
Where is the code? 🙄
25th May 2020, 8:49 PM
Mehnaz ✨
Mehnaz ✨ - avatar
+ 1
You should output an integer of the number of minutes that it will take to get your license. For any number, not only a few exampels.
24th May 2020, 7:22 AM
JaScript
JaScript - avatar