+ 1
JS code not working
I want to show how much minutes It would take tĂ´ trabel an Input Distance within 40 Miles an hour, but My code results in an error: function main() { var distance = parseInt(readLine(), 10); //your code goes here const milesHour = 40 const minutes = 60 var travelTime = distance / milesHour * minutes console.log (travelTime);
1 Answer
+ 6
add the closing bracket }