The Binary Calculator is a simple calculator designed to perform arithmetic operations on binary numbers. It allows users to add, subtract, multiply, and divide binary numbers, making it a handy tool for anyone working with binary arithmetic.
- Addition: Add two binary numbers together.
- Subtraction: Subtract one binary number from another.
- Multiplication: Multiply two binary numbers.
- Division: Divide one binary number by another.
To use the Binary Calculator, follow these steps:
- Clone the repository to your local machine.
git clone git@github.com:geekyharsh05/Binary-Calculator.git
-
Open the
index.html
file in your preferred web browser. -
Use the calculator interface to input binary numbers and perform calculations.
1.Inputting Binary Numbers:
- Use the provided buttons to enter binary digits (0 or 1) into the input fields.
- Alternatively, you can directly type binary numbers using your keyboard.
2.Selecting Operation:
- Click on the appropriate operation button (+, -, *, /) to select the desired arithmetic operation.
3.Performing Calculation:
- After entering the binary numbers and selecting the operation, click on the "Calculate" button to perform the calculation.
- The result will be displayed in the output field.
4.Clearing Calculation:
- To clear the input and output fields, click on the "Clear" button.
You can see a live demo of the Binary Calculator project here.
- HTML
- CSS
- JavaScript
This project is licensed under the MIT License. Feel free to modify and use the code according to your needs.