Skip to content

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.

Notifications You must be signed in to change notification settings

hema-priya-vadivel/Height-Conversion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📏 Height Converter

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.

🔧 Features

  • Enter height in feet and inches
  • Instantly convert it to centimeters
  • Clear button to reset inputs and result
  • Exit button to close the application

📐 Conversion Formula

  • The application uses the following formula to convert height from feet and inches to centimeters:

    height_in_cm = (feet × 30.48) + (inches × 2.54)

🖥️ Height Converter GUI


Height Converter GUI


Height Converter GUI


🔎 Sample Input / Output:

  • 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

🚀 How to Run

✅ Option 1: Clone and Run Source Code

  1. Clone the repository:

    git clone https://github.com/hema-priya-vadivel/Height-Conversion.git
    
  2. Open the project in a Java IDE (e.g., IntelliJ IDEA, Eclipse)

  3. Compile and run heightconverter.java from the src folder

  4. Enter height in feet and inches, click Convert, and view the result in centimeters

✅ Option 2: Download & Run Application Directly

If you don't want to clone the source code:

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages