Kotlinlearncs.online LogoJava
Return to List

Solve: In 30..50

Imported By: Geoffrey Challen
/ Version: 2021.4.0

Given 2 Int values, return true if they are both in the range 30..40 inclusive, or if they are both in the range 40..50 inclusive.

fun in3050(
first: Int,
second: Int,
): Boolean {
return false // You may need to remove this starter code
}

Related Lessons

Stuck? You may find these lessons helpful: