6 lines
105 B
Plaintext
6 lines
105 B
Plaintext
fun f(x: Int, b: Boolean): Int {
|
|
var result = x;
|
|
if (b) else result = result + 5;
|
|
return result;
|
|
}
|