- 2

You need to plan a road trip. You are traveling at an average speed of 40 miles an hour. Given a distance in miles as input

function main() { var distance = parseInt(readLine(), 10); //your code goes here let time = (distance /40) *60; console.log(time); }

29th Sep 2022, 5:28 AM
SYED AHMED
SYED AHMED - avatar
1 Answer
+ 2
Hi! why did you post it here?
29th Sep 2022, 6:17 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar