This Java application allows you to convert binary numbers to decimal numbers. It provides two conversion options: direct binary to decimal conversion and reverse binary to decimal conversion.
- Java Development Kit (JDK) installed on your system.
-
Clone this repository to your local machine.
git clone https://github.com/your-username/binary-to-decimal-converter.git
-
Navigate to the directory containing the source code.
cd binary-to-decimal-converter
-
Compile the Java source code.
javac HelloWorld.java
-
Run the application.
java HelloWorld
-
Follow the on-screen instructions:
- Choose an option from the menu:
- Option 1: Convert binary to decimal.
- Option 2: Convert reverse binary to decimal.
- Option 3: Exit the program.
- Enter the binary number when prompted.
- Choose an option from the menu: