Jetpack Compose Calculator App This is a simple calculator app built with Jetpack Compose for Android. It allows you to perform basic arithmetic operations including addition, subtraction, multiplication, and division.
Features
- Input field for entering expressions
- Buttons for digits (0-9) and basic arithmetic operators (+, -, *, /)
- Displays the calculation result
- Handles basic input validation
How it Works: The app uses Jetpack Compose for building the UI and logic. It consists of a text field for user input, buttons for numbers and operators, and a text view to display the result. When a button is pressed, the app updates the input field and evaluates the expression upon pressing the equal button. Basic input validation is included to prevent crashes due to invalid expressions.
Usage
- Clone the repository using this command in your cmd.
git clone https://github.com/Mahaveer86619/Calculator-JetpackCompose.git
- Open the project in Android Studio.
- Run the app on your device or emulator.