Ooproject (3) Guru
Ooproject (3) Guru
A Seminar Report on
BODY MASS INDEX CALCULATOR(BMI)
Seminar Report submitted as partial fulfillment of the award of Internal Assessment Marks in
the subject
Submitted By
Ass.Prof. DEEPALI
AIM : Write a c++ program to calculate the Body Mass Index (BMI) Person using height and weight of the
Person and print an appropriate message.
Software Used: To run C++ program we use Visual Studio Software to run Modern C++ program It is not run
in Turbo C++ Application.
Theory: Body Mass Index (BMI) is a widely used measure for assessing an individual's body weight relative to
their height. It is a simple calculation based on the relationship between weight and height, and it provides an
indication of whether a person has a healthy body weight in relation to their height.
Calculation: BMI is calculated by dividing a person's weight in kilograms by the square of their height in meters.
The formula is BMI = weight / (height^2).
Interpretation: The resulting BMI value is then interpreted to categorize a person's weight status. Commonly
used categories include:
BMI 30 or greater
Limitations: While BMI is a convenient tool for assessing body weight, it has some limitations. For example:
It does not account for differences in muscle mass, bone density, age, sex, or ethnicity.
It may not accurately reflect the health status of certain individuals, such as athletes or elderly individuals.
Health Risks: BMI categories are associated with different health risks. For instance, being underweight or
obese can increase the risk of certain health conditions, including cardiovascular disease, diabetes, and
osteoporosis. Maintaining a BMI within the normal range is generally considered healthier.
Use in Healthcare: BMI is commonly used by healthcare professionals as a screening tool to identify individuals
who may be at risk of weight-related health problems. However, it is typically used in conjunction with other
assessments, such as waist circumference, body fat percentage, and medical history.
Public Health: BMI is also used at the population level to assess trends in weight status and obesity prevalence.
It helps public health authorities monitor and develop strategies to address obesity-related issues, such as
promoting healthy eating habits and physical activity.
PROGRAM
#include <iostream>
#include <cmath>
BMI is: " << bmi << endl; if (bmi < 18.5)
(bmi >= 18.5 && bmi < 25) cout << "You have
<< endl;
else
weight, height;
interpretBMI(bmi);
return 0;
}
OUTPUT :
19.1001
CONCLUSION:
The implementation of a Body Mass Index (BMI) Calculator using Object-Oriented Programming (OOP)
principles provides a structured and efficient way to model and manipulate BMI-related data. By encapsulating
the functionality within classes and objects, the BMI calculator becomes modular, reusable, and easier to
maintain.