Augmented assignment operators are +=,-=,*=,/=. X=4; X *=2; This means X=X*2; This is how augmented assignment operator does on the variable. it will update on the existing value .
Category Archives: Kotlin
[Kotlin] my first program
//to declare a function fun is used // As c program, main() is not the start of the program //no semicolon needed to end the statement fun main() { print(“Hello Kotlin world!”) }