- 12
How to compete trip planner project in JS?
2 Answers
+ 2
function main() {
var distance = parseInt(readLine(), 10);
//your code goes here
const speed = 40
var time = (distance/speed)*60
console.log(time)
}
- 3
Where's your attempt?