🏠 | 💻 PC | Development | JS |

Фунты в килограммы Java Script

Ibs to kg

var weightInIbs = prompt("What is the weight in pounds?");
var weightInKg;
weightInKg = weightInIbs * 0.454;
alert("It is "+weightInKg+" kg");
console.log("Conversion completed");

<script src="ibs_to_kg.js"></script>

Share in social media: