Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to convert kilomer to meter in javascript

var kilometers = parseInt(prompt("Please enter kilometers:"));
var miles = kilometers / 1.6;
console.log(miles + " Miles");
Source by onecompiler.com #
 
PREVIOUS NEXT
Tagged: #convert #kilomer #meter #javascript
ADD COMMENT
Topic
Name
8+5 =