Kotlin - Operators and Expressions
Which of the following is the correct syntax to check if variable
x is between 10 and 20 inclusive in Kotlin?x is between 10 and 20 inclusive in Kotlin?in to check if a value is inside a range.if (x in 10..20) correctly uses in and the range operator ...in with .. for range checks [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions