Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

Project_#1

Report
Farrel Muhammad Nur Said K (02311940000044)
Moch. Ardaffa Tsaqif Acalapati(02311940000149)
13/03/2020
WHAT IS BMI?
Body mass index (BMI) is a value derived from the mass (weight) and height of a person. The BMI is
defined as the body mass divided by the square of the body height, and is universally expressed
in units of kg/m2, resulting from mass in kilograms and height in metres. The BMI is a convenient rule
of thumb used to broadly categorize a person as underweight, normal weight, overweight,
or obese based on tissue mass (muscle, fat, and bone) and height. That categorization is the subject of
some debate about where on the BMI scale the dividing lines between categories should be
placed.[1] Commonly accepted BMI ranges are underweight (under 18.5 kg/m2), normal weight (18.5 to
25), overweight (25 to 30), and obese (over 30).

FLOW CONTROL IN C++


Generally a program executes its statements from beginning to end. But not many programs executes
all their statements in strict order from beginning to end. Most programs decide what to do in
response to changing circumstances. These programs not only store data but they also manipulate
data in terms of consolidation, rearranging, modifying data.To perform their manipulative miracles,
programs need tools for performing repetitive statements to attain so. Such statements are called
program control statements.

BMI CALCULATION PROGRAM


The above program procedure is as follows. Before we can input our weight and height values. we have to
determine the units we will use. When using kilograms as a unit of weight, our unit of height is meters. If we use
pounds as a unit of weight, then our height is inches. This unit determination is useful for determining the
method we use. the formula of BMI is weight divided by the square of height. The difference in calculation with
units of kilograms and pounds is in the formula bmi with units of pounds needs to be multiplied by 703 first.
After determining the method we use, we can easily input our weight and height. The results from the input will
be processed into a BMI value. In determining our BMI category, we use the if else statement where there are
several conditions, if bmi less than 18.5 is thin, between 18.5 and 24.9 is normal, between 25 and 29.9 is
overweight, and above 30 is obese.

You might also like