Changing a value

Report a typo

Fix the following code by rewriting one of its lines.

private val number = MutableStateFlow(100)

fun countDown() {
    number -= 10 // Unresolved reference.
}
Enter a short text
___

Create a free account to access the full topic