This commit is contained in:
Karan 2021-11-25 19:50:21 +05:30 committed by GitHub
parent d8055c45df
commit 8c3021c3d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,14 +0,0 @@
let myDistanceKM = 130;
let myDistanceMiles = myDistanceKM * 1.60934;
console.log('The distance of ' + myDistanceKM + ' kms is equal to ' + myDistanceMiles + ' miles')
//1 inch = 2.54 centimeters.
//2.2046 pounds in a kilo
let inches = 72;
let pounds = 180;
let weight = pounds / 2.2046; // in kilos
let height = inches * 2.54; // height in centemeters
console.log(inches,pounds);
console.log(weight, height);
let bmi = weight/(height/100*height/100);
console.log(bmi);