Kotlin

Kotlin Arithmetic Operator Examples1 min read

Kotlin Code:

Output:




Kotlin programming language supports various arithmetic operators for all floating-point and integer numbers. These operators are + (addition), – (subtraction), * (multiplication), / (division), and % (modulo).

Above program explains about the all arithmetic operations.

The + operator is also used for the concatenation of String values.

Leave a Comment