Bmi
Bmi
On
"BMI CALCULATOR"
Submitted in partial fulfillment of the requirements for the award of the degree of
BACHELOR OF TECHNOLOGY
In
CSE (AI&DS)
BY
23BH5A7207 P.ABHISHEK
22BH1A7228 S.GANGACHARAN
23BH5A7204 K.MAHESH
DEPARTMENT OF CSE(AI&DS)
[2023-24]
CERTIFICATE
This is to certify that project report entitled "BMI CALCULATOR” is bonafide
work carried out in the II/II semester by P.ABHISHEK(23BH5A7207),
S.GANGACHARAN(22BH1A7228), K.MAHESH(23BH5A7204),MD.FARAZ
SHAIK(22BH1A7216) in partial fulfillment award of Bachelor of Technology
in CSE (AI&DS) from St. Mary's Engineering College during the academic year
2023-2026.
EXTERNAL EXAMINER
ACKNOWLEDGEMENT
We convey our sincere thanks to Sri Rev. K.V.K RAO, Chairman of St. Mary's
Engineering College for giving us a learning environment to grow out self
personally as well as professionally.
We would like to express our thanks to all staff members who have helped
us directly and indirectly in accomplishing this project work. We also
extended our sincere thanks to our parents and friends for their moral
support throughout the project work. Above all, we thank god almighty for
his manifold mercies in carrying out this project work successfully.
P.ABHISHEK 23BH5A7205
S.GANGACHARAN 22BH1A7228
K.MAHESH 23BH5A7204
This is to certify that the work report in the thesis titled, "BMI CALCULATOR",
submitted to the Department of CSE (AI&DS), St. Mary's Engineering College
in fulfillment of degree for the award of Bachelor of Technology, is a
bonafide work done by us. No part of the thesis is copied from books,
journals, or the internet and wherever the portion is taken, the same has
been duly referred in the text. The reported results are based on the project
work entirely done by us and not copied from any other sources. Also, we
declare that the matter embedded in this thesis has not been submitted by
us in full or partially there for the award of any degree from any other
institution or university previously
P.ABHISHEK -23BH5A7207
S.GANGACHARAN -22BH1A7228
K.MAHESH -23BH5A7204
INTRODUCTION 2
PROBLEM STATEMENT 3
OBJECTIVES 4
SOFTWARE REQUIREMENTS 5
SOFTWARE ENVIRONMENT 6
COMPLETE CODE 7
8
SAMPLE OUTPUT
CONCLUSION 9
Abstract
BMI Calculator
The BMI (Body Mass Index) Calculator is a
Python script designed to calculate BMI
based on user input for height and weight.
Additionally, it interprets the calculated BMI
value to provide the corresponding category,
such as "Underweight," "Normal,"
"Overweight," or "Obese." This calculator
offers a straightforward interface for users to
determine their BMI and understand their
weight status based on established BMI
categories.
Key features include calculating BMI using the
BMI formula and interpreting the BMI value to
categorize it into predefined weight status
categories. The BMI Calculator aims to
provide users with valuable insights into their
weight status, promoting awareness of
healthy weight management practices.
Introduction
def interpret_bmi(bmi):
"""
Interpret BMI value and provide corresponding category.
"""
if bmi < 18.5:
return "Underweight"
elif 18.5 <= bmi < 25:
return "Normal"
elif 25 <= bmi < 30:
return "Overweight"
else:
return "Obese"
def main():
print("Welcome to the BMI Calculator!")
print("Please enter your height and weight to calculate your BMI.")
# Calculate BMI
bmi = calculate_bmi(height, weight)
# Interpret BMI
category = interpret_bmi(bmi)
# Display results
print(f"Your BMI is: {bmi:.2f}")
print(f"You are in the '{category}' category according to BMI.")
if __name__ == "__main__":
main()
Sample Output
Conclusion
The BMI Calculator project provides a
valuable tool for individuals to assess their
weight status based on BMI calculations. By
simplifying the BMI calculation process and
offering clear interpretations of BMI values,
this calculator promotes health awareness
and encourages users to make informed
decisions about their weight management
goals. With its user-friendly interface and
accurate results, the BMI Calculator serves as
an essential resource for individuals seeking
to maintain a healthy lifestyle.