Write a lambda expression that takes two integer arguments and returns the greatest of them.
Lambda expressions
Max
Report a typo
Write a program in Kotlin
val lambda: (Int, Int) -> Int = TODO("Provide implementation")
___
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.