logo

Crowdly

Browser

Add to Chrome

Quelle est la valeur de finalResult après l'exécution de ce code ? val x = 8 v...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Quelle est la valeur de finalResult après l'exécution de ce code ?

val x = 8

val y = 3

val z = 2

val finalResult = when (x % y) {

0 -> x / y

1 -> x + z

2 -> x * z

else -> x - y

}

0%
0%
0%
0%
More questions like this

Want instant access to all verified answers on moodle.iut-tlse3.fr?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome