An open API service indexing awesome lists of open source software.

https://github.com/priyanshujajal/bmi-calculator-java

BMI (Body Mass Index) Calculator for the people to check whether they are Under-Weight , Normal Weight , Over-Weight or Obese.
https://github.com/priyanshujajal/bmi-calculator-java

bmi-calculator body-mass-index body-mass-index-calculator health-calculator java javaproject oops-in-java weight-tracker

Last synced: about 2 months ago
JSON representation

BMI (Body Mass Index) Calculator for the people to check whether they are Under-Weight , Normal Weight , Over-Weight or Obese.

Awesome Lists containing this project

README

        

# BMI-Calculator-Java

# Overview
The BMI Calculator is a simple Java-based application designed to calculate the Body Mass Index (BMI) based on a user's height and weight.

It calculates BMI into two systems :

1. Imperial System -> Weight in Pounds and Height in Inches.

2. Metric System -> Weight in Kilos and Height in Meters.

This tool provides an easy way for users to determine their BMI and assess whether they fall into a healthy weight range.
The application uses a console-based interface for input and output and is ideal for learning basic Java programming concepts such as user input, conditional statements, and mathematical operations upto some concepts like classes , instances.

# Features :

1. Calculate BMI: The user can input their height (in meters , inches) and weight (in kilograms , pounds), and the program will calculate their BMI using the formula:

-> Imperial : 703 * weight(in pounds) / (height * height) (in inches)

-> Metric : weight(in kilos) / (height * height) (in meters)


2. BMI Categories: The program classifies the BMI result into categories such as:

-> Underweight (>= 0 and < 18.5)

-> Normal weight (>= 18.5 and < 25)

-> Overweight (>= 25 and < 30)

-> Obese (> 30)

3. User Input Validation: The program checks if the user enters valid numeric values for height and weight.


4. Simple CLI Interface: The application is operated through a command-line interface, making it easy to run on any system with a Java environment.

# Technologies Used :

1. Java: The primary programming language used for implementing the BMI Calculator.

2. Console Application: The application uses the console for input and output.

# Contribution :

Contributions are welcome to improve the BMI Calculator!
Whether you're fixing a bug or improving the code quality, your help is highly appreciated.

# Feedback :
Your feedback is crucial and appreciated.
If you have any suggestions, comments, or issues, please feel free to share.