From 8c3021c3d60486f1fa1de9d00cf7cb0ac3b3fd99 Mon Sep 17 00:00:00 2001 From: Karan <50290386+Sonawane-Karan26@users.noreply.github.com> Date: Thu, 25 Nov 2021 19:50:21 +0530 Subject: [PATCH] cleanup --- Chapter 2/ex2 | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 Chapter 2/ex2 diff --git a/Chapter 2/ex2 b/Chapter 2/ex2 deleted file mode 100644 index d419f76..0000000 --- a/Chapter 2/ex2 +++ /dev/null @@ -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);