Every number is divisible by 3

Report a typo

You are given a list of numbers. Write a predicate that tests whether all the numbers are divisible by three.

Sample Input 1:

1 2 3 4 5 6 7 8 9

Sample Output 1:

false
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