Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 1.16 KB

README.md

File metadata and controls

44 lines (30 loc) · 1.16 KB

Binary Calculator

Binary Calculator is a simple calculator that performs arithmetic operations on binary numbers. It supports addition, subtraction, multiplication, and division of binary numbers.

Features

  • Addition of binary numbers
  • Subtraction of binary numbers
  • Multiplication of binary numbers
  • Division of binary numbers

Installation

  1. Clone the repository: git clone https://github.com/ak-hu/binary-calculator.git
  2. Open the project directory: cd binary-calculator
  3. Open the index.html file in a web browser.

Usage

  1. Enter two binary numbers in the input fields.
  2. Select the operation to perform (addition, subtraction, multiplication, or division).
  3. Click the "Calculate" button to see the result.

Examples

  • To add two binary numbers:

    • Number 1: 101
    • Number 2: 11
    • Operation: Addition
    • Result: 1000
  • To subtract two binary numbers:

    • Number 1: 1010
    • Number 2: 110
    • Operation: Subtraction
    • Result: 1000

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.

License

This project does not have a specific license