Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages