-
This project is a simple console-based unit converter that converts between the following units:
-
Feet to Meters
-
Pounds to Kilograms (Kgs)
-
Fahrenheit to Celsius
-
To run this project, you need to have the following installed on your system:
-
Java Development Kit (JDK)
-
NetBeans IDE
-
Getting Started
-
Clone or Download the Project:
-
If you have Git installed, you can clone the repository using the following command:
-
- Alternatively, you can download the ZIP file from the repository and extract it to a folder on your computer. Open the Project in NetBeans:
-
Go to File > Open Project.
-
Navigate to the folder where you cloned/downloaded the project and open it.
-
Run the Project:
-
In the Projects pane, right-click on the project folder (e.g., conversion_unit).
-
Select Run.
-
Use the Converter:
The program will prompt you to enter the unit you want to convert from. You can enter one of the following:
- Feet
- Pounds
- Fahrenheit
Next, you will be prompted to enter the unit you want to convert to. You can enter one of the following:
- Meters
- Kgs
- Celsius
- The program will display the result of the conversion.
- plaintext
- Enter the unit you want to convert from:
- Feet
- Enter the unit you want to convert to:
- Meters
- Enter the quantity to be converted:
- 20
- The result of the conversion is: 3.048
- Ensure that you enter the unit names exactly as specified (case insensitive). For example, "Feet", "Pounds", "Fahrenheit", "Meters", "Kgs", "Celsius".
- If you receive an "Invalid conversion" message, check that you have entered the units correctly and that the conversion is supported.