mil to km javascript

Solutions on MaxInterview for mil to km javascript by the best coders in the world

showing results for - "mil to km javascript"
Mika
31 Jan 2018
1var miles = parseInt(prompt("Please enter miles:"));
2var kilometers = miles * 1.6;
3console.log(kilometers + " Kilometers");