At least one

Report a typo

Write a program that reads five integer numbers. The first and the second numbers create one range, and the third and the fourth ones create another range. Output true if the fifth number is in at least one of these ranges, otherwise output false.

Sample Input 1:

1
2
5
6
2

Sample Output 1:

true

Sample Input 2:

0
5
6
8
10

Sample Output 2:

false
Write a program in Kotlin
fun main() {
// write your code here
}
___

Create a free account to access the full topic