6 lines
155 B
Kotlin
6 lines
155 B
Kotlin
fun test( n : Number ) = n.toInt().toLong() + n.toLong()
|
|
|
|
fun box() : String {
|
|
val n : Number = 10
|
|
return if(test(n) == 20.toLong()) "OK" else "fail"
|
|
} |