A simple yet powerful calculator built using Kotlin. This project demonstrates the fundamental concepts of Kotlin, including UI development, event handling, and basic arithmetic operations.
- Supports basic arithmetic operations: Addition, Subtraction, Multiplication, and Division
- Intuitive and user-friendly interface
- Error handling for invalid inputs (e.g., division by zero)
- Lightweight and efficient performance
- Kotlin 1.9+ installed
- JDK 11+ (if running as a Java application)
- Android Studio (optional) for Android development
- Clone the Repository
git clone https://github.com/RohanCyberOps/kotlin-calculator.git cd kotlin-calculator
- Run the Application
If this is a console-based Kotlin application:
If this is an Android application, open the project in Android Studio and run it on an emulator or physical device.
kotlinc Calculator.kt -include-runtime -d calculator.jar java -jar calculator.jar
- Enter two numbers and select the operation.
- Press "Calculate" to get the result.
- Handles invalid inputs gracefully.
Contributions are welcome! Feel free to open an issue or submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
For any questions or feedback, reach out via:
- GitHub Issues: ISSUE
- Email: your.email@example.com