logo

Crowdly

Browser

Add to Chrome

Quelle est la valeur de output après l'exécution de ce code ? val a = 2 val b ...

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

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

val a = 2

val b = 5

val c = 3

val output = if (a < b) {

if (b > c) {

a + c

} else {

b - a

}

} else {

c * 2

}

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