victorvhs / simpleCalculator

A simple calculator in kotlin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple Calculator

This is a simple calculator app that performs basic arithmetic operations. The app is built using the Kotlin programming language and Android Studio. Features

Addition (+)
Subtraction (-)
Multiplication (*)
Division (/)
Decimal Point (.)
Clear Button (C)
Equal Button (=)

Getting Started

To use the app, download the code and open it in Android Studio. You can then build and run the app on an Android emulator or physical device. How to Use

Enter the first number using the numeric buttons.
Select an operator (+, -, *, or /) using the operator buttons.
Enter the second number using the numeric buttons.
Press the equal button (=) to perform the calculation.
The result will be displayed on the screen.
Press the clear button (C) to clear the input.

Note: If you try to divide by zero, the app will display a message and set the result to infinity.

Built With

  • Android Studio - The official integrated development environment (IDE) for Google's Android operating system, built on JetBrains' IntelliJ IDEA software and designed specifically for Android development.

  • Kotlin - A cross-platform, statically typed, general-purpose programming language with type inference.

Notes

This code was made for study purposes only. It is not intended for commercial > use. I was use the course "Android Masterclass with Kotlin" by Denis Panjuta on Udemy to learn Kotlin and Android Studio. The course is available at https://www.udemy.com/course/android-kotlin-developer/

About

A simple calculator in kotlin


Languages

Language:Kotlin 100.0%