Skip to main content

Posts

Showing posts from June, 2021

BMI Calculator

Today; in the era of fast changing world where we've prioritized our job, one thing that is being highly compromised is our Health. Recently we've been through the CORONA crisis where we've acknowledge that how weak our immune system is. Bad eating habits and lack of sleep can get you anxiety, stress, fatigue and weakness all over your body. So the question arise: What should we do? One little thing that we could do is to know our Body Mass Index ; the BMI score. BMI is a measurement of a person’s weight with respect to his or her height. It is more of an indicator than a direct measurement of a person’s total body fat. BMI correlates with total body fat. This means that as the BMI score increases, so does a person’s total body fat. The WHO defines an adult who has a BMI below 18.5 is considered Underweight, between 18.5 to 24.9 a Healthy weight, a BMI between 25 and 29.9 as Overweight, and an adult who has a BMI of 30 or higher is considered Obese. BMI

coding_round#1

==>> This is a coding question asked in Tech Mahindra coding round. Q.) Given an array of integers representing measurements in inches, write a program to calculate the total of measurements in feet. Ignore the measurements that are less than a foot (eg. 10). Note:- You are expected to write code in the findTotalFeet function only which will receive the first parameter as the number of items in the array and the second parameter as the array itself. You are not required to take input from the console Example:- Finding the total measurements in feet from a list of 5 numbers Input:- 5                  18 11 27 12 14 Output:- 5 Explanation:-  The first parameter (5) is the size of the array. Next is an array of measurements in inches. The total number of feet is 5 which is calculated as shown below: 18->1 11->0 27->2 12->1 14->1 ==>> I've provided a solution for the following problem:- click on the image and zoom-in for more clarity. ( Plz feel free to

Weather Web App

*This is a Weather Web App build using HTML/CSS and JS Note : Enter any city name of your choice to check the weather updates. You can even try city names from different countries (like New York, London, Tokyo, Toronto, Paris) and it will give you the weather updates of that particular city. #For Quote and Joke generator : click here #For Number Guessing Game : click here