0
Both test cases valid but sololearn says it's invalid
I'm working on the "Trip Planner" project and all of the test cases are invalid but i'm pretty sure it's valid Here's my code: function main() { var distance = parseInt(readLine(), 10); //your code goes here console.log(590 / 40 * 60); console.log(100 / 40 * 60); }
1 Answer
+ 1
Please look at the task description again: It asks us to get distance as user input. You never used distance in your program and hard coded the result instead