Coder Social home page Coder Social logo

rituburman / hacktoberfest2020 Goto Github PK

View Code? Open in Web Editor NEW
15.0 15.0 202.0 8.76 MB

NOT ACCEPTING CODES.

C++ 52.89% Java 4.28% C 2.86% Python 1.70% CSS 13.05% HTML 1.74% JavaScript 0.48% Less 10.83% SCSS 11.27% PHP 0.11% Hack 0.03% C# 0.75%
hacktoberfest hacktoberfest2021

hacktoberfest2020's Introduction

Technical Assessment: Vamstar Nodejs BMI Calculator Coding Challenge

Problem Statement

Given the following JSON data [{"Gender": "Male", "HeightCm": 171, "WeightKg": 96 }, { "Gender": "Male", "HeightCm": 161, "WeightKg": 85 }, { "Gender": "Male", "HeightCm": 180, "WeightKg": 77 }, { "Gender": "Female", "HeightCm": 166, "WeightKg": 62}, {"Gender": "Female", "HeightCm": 150, "WeightKg": 70}, {"Gender": "Female", "HeightCm": 167, "WeightKg": 82} as the input with weight and height parameters of a person, we have to perform the following:

  1. Calculate the BMI (Body Mass Index) using Formula 1, BMI Category and Health risk from Table 1 of the person and add them as 3 new columns.

  2. Count the total number of overweight people using ranges in the column BMI Category of Table 1, check this is consistent programmatically and add any other observations in the documentation.

  3. Create build, tests to make sure the code is working as expected and this can be added to an automation build / test / deployment pipeline.

Formula 1 - BMI 2 2 BMI(kg/m ) = mass(kg) / height(m) The BMI (Body Mass Index) in (kg/m2 ) is equal to the weight in kilograms (kg) divided by your height in meters squared (m)2 . For example, if you are 175cm 3 (1.75m) in height and 75kg in weight, you can calculate your BMI as follows: 75kg / (1.75m2) = 24.49kg/m2

Table 1 - BMI Category and the Health Risk. BMI Category Underweight Normal weight Overweight Moderately obese Severely obese Very severely obese Challenge

BMI Range (kg/m2) 18.4 and below 18.5 - 24.9 25 - 29.9 30 - 34.9 35 - 39.9 40 and above

Health risk Malnutrition risk, Low risk, Enhanced risk, Medium risk, High risk Very high risk

hacktoberfest2020's People

Contributors

0b010011 avatar aashna-agrawal avatar anjalysadasivan avatar anjimasadasivan avatar anmolcool007 avatar ashishlalwani582 avatar chirag0410 avatar dragonzsaga avatar draxster99 avatar hammadsultan07 avatar jakaria9001 avatar jaylalakiya avatar mkjoshi27 avatar nitinxmadhukar avatar perctapera avatar pinkywalia avatar priyanshiporwal avatar rachitabasnet avatar ritik-sys avatar rituburman avatar savi966 avatar shivansh34 avatar shweta96patil avatar shyam-2001 avatar tushar2k19 avatar uttam8299 avatar vartika9189 avatar vinaysukhwal avatar yash5044 avatar zalasanjay avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

hacktoberfest2020's Issues

Adding Cryptographic techniques folder

Hi , I'm participating in hacktoberfest2021 .
I would like to add cryptographic folder in which i will implement cipher techniques with their decipher techniques for decoding ...

Please assign it to me @rituburman

note

source code is in c++ files(.cpp)

pull request template

Is your feature request related to a problem? Please describe.
This repo does not contain a Pull Request template.

Describe the solution you'd like
I would like to add a Pull request template so that if someone wants to raise a pr they can select the right template and contribute.

Describe alternatives you've considered
NA

Additional context
I want to contribute to this repo for Hactoberfest21. Kindly assign this issue to me!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.