Order your scores

Report a typo

We have a list of scores from your Kotlin tests. Please order them from highest to lowest.

Sample Input 1:

6 5 8 9 7 8

Sample Output 1:

[9, 8, 8, 7, 6, 5]
Write a program in Kotlin
fun main() {
val list = readln().split(" ").map { it.toInt() }
// write your code here
val res =


println(res)
}
___

Create a free account to access the full topic