✅ 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 = 7
when (dayIndex) {
6 -> print("Saturday")
7 -> print("Sunday")
else -> {
print("Workday")
}
}