+ 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

11th Dec 2020, 1:28 PM
Alim Niyazov
Alim Niyazov - avatar
2 Respostas
+ 4
function main() { var distance = parseInt(readLine(), 10); var x = distance / 40; console.log(x * 60); }
11th Dec 2020, 1:48 PM
Иван Чикyнов
Иван Чикyнов - avatar
+ 2
Thank you
11th Dec 2020, 3:11 PM
Alim Niyazov
Alim Niyazov - avatar