GithubHelp home page GithubHelp logo

calculator-jetpackcompose's Introduction

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

  1. Input field for entering expressions
  2. Buttons for digits (0-9) and basic arithmetic operators (+, -, *, /)
  3. Displays the calculation result
  4. 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

  1. Clone the repository using this command in your cmd.

    git clone https://github.com/Mahaveer86619/Calculator-JetpackCompose.git

  2. Open the project in Android Studio.
  3. Run the app on your device or emulator.

calculator-jetpackcompose's People

Contributors

mahaveer86619 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.