https://github.com/saqibbedar/calculators-hub
Calculators Hub - Calculators implementation using different programming languages
https://github.com/saqibbedar/calculators-hub
basic-project calculator-application calculator-javascript calculator-python cpp-calculator java-calculator java-gui-application java-swing
Last synced: 3 months ago
JSON representation
Calculators Hub - Calculators implementation using different programming languages
- Host: GitHub
- URL: https://github.com/saqibbedar/calculators-hub
- Owner: saqibbedar
- License: mit
- Created: 2023-10-10T17:52:53.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-09T19:03:57.000Z (6 months ago)
- Last Synced: 2025-02-10T05:44:53.420Z (4 months ago)
- Topics: basic-project, calculator-application, calculator-javascript, calculator-python, cpp-calculator, java-calculator, java-gui-application, java-swing
- Language: Java
- Homepage:
- Size: 307 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Calculators Hub
A collection of calculator implementations in different programming languages including C++, Python, Java (Swing), and JavaScript (HTML, CSS, JS).
## Getting Started
To test these calculators, follow the instructions for each language:### C++
1. Navigate to the `cpp` directory.
2. Compile the code using a C++ compiler, e.g., `g++ calculator.cpp -o calculator`.
3. Run the executable, e.g., `./calculator`.### Python
1. Navigate to the `python` directory.
2. Run the script using Python, e.g., `python calculator.py`.### Java (Swing)
1. Navigate to the `java` directory.
2. Compile the code using `javac`, e.g., `javac Calculator.java`.
3. Run the application, e.g., `java Calculator`.### JavaScript
1. Navigate to the `javascript` directory.
2. Open `index.html` in a web browser.## Contributing
If you would like to contribute a calculator implementation in a different programming language or improve an existing one, please follow these steps:
1. Fork the repository.
2. Create a new branch for your feature, e.g., `git checkout -b add-new-calculator`.
3. Add your code in a new directory named after the programming language.
4. Commit your changes and push to your fork.
5. Create a pull request with a description of your changes.We welcome all contributions and improvements!