A simple and intuitive Java Swing desktop application that converts height from feet and inches to centimeters. Designed with a clean GUI, this tool is useful for quick and accurate height conversions in both personal and academic use cases.
- Enter height in feet and inches
- Instantly convert it to centimeters
- Clear button to reset inputs and result
- Exit button to close the application
-
The application uses the following formula to convert height from feet and inches to centimeters:
✅ height_in_cm = (feet × 30.48) + (inches × 2.54)
-
For a height of 5 feet 4 inches and the formula above:
height_in_cm = (5 × 30.48) + (4 × 2.54) = 152.4 + 10.16 = 162.56 cm
-
Clone the repository:
git clone https://github.com/hema-priya-vadivel/Height-Conversion.git
-
Open the project in a Java IDE (e.g., IntelliJ IDEA, Eclipse)
-
Compile and run heightconverter.java from the src folder
-
Enter height in feet and inches, click Convert, and view the result in centimeters
If you don't want to clone the source code: