+ 1

You need to plan a road trip. You are traveling at an average speed of 40 miles an hour distance is 150 what will be the output.

10th May 2021, 7:24 AM
Dhanraj Dalvi
Dhanraj Dalvi - avatar
2 Respostas
+ 2
Think mathematically. It is written in the project explanation. "It will take 150/40 = 3.75 hours to cover the distance, which is equivalent to 3.75*60 = 225 minutes."
10th May 2021, 7:51 AM
Genuine Stalwart
Genuine Stalwart - avatar
+ 1
function main() { var distance = parseInt(readLine(), 10); //your code goes here console.log(distance/40*60); } // copy to your js code to work
10th May 2021, 8:14 AM
hadi Karimian
hadi Karimian - avatar