The result of your scores

Report a typo

We have a list of scores from your Kotlin tests. Please group them by pass (score greater than or equal to 5) and fail (score less than 5) and the size of each group according to your results.

Sample Input 1:

10.0 9.5 8.0 7.5 6.0 1.5

Sample Output 1:

{pass=5, fail=1}
Write a program in Kotlin
const val MINIMUM_MARK = 5
fun main() {
val list = readln().split(" ").map { it.toDouble() }

// write your code here
val res =


println(res)
}
___

Create a free account to access the full topic