+ 1
how to solve this?
You need to plan your trip. You are driving at an average speed of 40 mph. Using the distance in miles as the input (you already have a code to accept the input), you need to
2 Respostas
+ 4
function main() {
var distance = parseInt(readLine(), 10);
var x = distance / 40;
console.log(x * 60);
}
+ 2
Thank you