✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Quelle est la valeur de x après l'exécution de ce code ?
val n = 7
val x = when {
n % 2 == 0 -> n / 2
n > 10 -> n - 5
else -> n * 3
}