+ 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.
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."
+ 1
function main() {
var distance = parseInt(readLine(), 10);
//your code goes here
console.log(distance/40*60);
}
// copy to your js code to work