The Body Mass Index (BMI) is a quick way to assess your body size simply with your weight and height, regardless of your gender. Quickly calculate your BMI and find out which category you fall into.
The Body Mass Index (BMI) is the only index validated by the World Health Organization to assess an individual’s build and therefore health risks. The BMI makes it possible to determine whether one is the situation of thinness, overweight or obesity for example.
In this program we will calculate BMI. Body mass index (BMI) is a measure of body fat based on height and weight that applies to adult men and women.
C++ Program to Calculate Your Body Mass Index
Write a program that computes the body mass index (bmi) of an individual in C++
using namespace std;
float bmi,w,h; //w=weight , h=height
cout<<"Please Enter your weight in Pounds : ";
cout<<"Please Enter your Height in Inches : ";
cout<<"Your BMI is : "<<bmi<<endl;
else if(bmi<25 && bmi>18.5)
You May Also Like: