Kotlin penggunaan tradisional jika ... lain
fun main(args: Array<String>) {
val number = -10
if (number > 0) {
print("Positive number")
} else {
print("Negative number")
}
}
SAMER SAEID