Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

mil to km javascript

var miles = parseInt(prompt("Please enter miles:"));
var kilometers = miles * 1.6;
console.log(kilometers + " Kilometers");
Source by onecompiler.com #
 
PREVIOUS NEXT
Tagged: #mil #km #javascript
ADD COMMENT
Topic
Name
6+8 =