We have a list of scores from your Kotlin tests. Please obtain the summary of your scores printing the "max:min:average".
Aggregate operations on collections: part 2
The summary of your scores
Report a typo
Sample Input 1:
10.0 9.5 8.0 7.5 6.0 5.5Sample Output 1:
10.0:5.5:7.75Write a program in Kotlin
fun main() {
val list = readln().split(" ").map { it.toDouble() }
// write your code here
val res =
println(res)
}
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.