logo

Crowdly

Browser

Add to Chrome

Mi lesz kiírva? val dayIndex : Int = 6 when (dayIndex) { in 0..5 -> println("Wo...

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

Mi lesz kiírva?

val dayIndex : Int = 6

when (dayIndex) {

in 0..5 -> println("Workday")

in 6..7 -> println("Weekend")

else -> {

println("Error")

}

}

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

Want instant access to all verified answers on moodle.uni-eszterhazy.hu?

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

Browser

Add to Chrome