Skip to content

alicodezx/BMI-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BMI Calculator (Java)

A simple BMI (Body Mass Index) calculator made using Java and Swing. It allows users to input their weight and height to calculate BMI.

Features

  • Simple GUI interface
  • BMI formula calculation: weight (kg) / (height (m))²
  • Result display with health category (Optional: Underweight, Normal, Overweight, etc.)

How to Run

  1. Clone this repo
  2. Compile: javac Calculator.java
  3. Run: java Calculator

Screenshot

App Screenshot

Note

This was a beginner project for learning Java GUI with Swing.

About

This is a beginner-friendly Java application that calculates a person's Body Mass Index (BMI) using a simple graphical user interface (GUI) built with Java Swing. Users can enter their weight (in kilograms) and height (in meters), and the app calculates and displays their BMI instantly.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages