MEG46 / BinaryToDecimal

Binar yTo Decimal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Binary to Decimal Converter

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.

How to Use

Prerequisites

  • Java Development Kit (JDK) installed on your system.

Usage

  1. Clone this repository to your local machine.

    git clone https://github.com/your-username/binary-to-decimal-converter.git
    
  2. Navigate to the directory containing the source code.

    cd binary-to-decimal-converter
    
  3. Compile the Java source code.

    javac HelloWorld.java
    
  4. Run the application.

    java HelloWorld
    
  5. 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.

About

Binar yTo Decimal


Languages

Language:Java 100.0%