Write a program that reads three integer numbers and prints true if the first number is between the second and the third one (inclusive). Otherwise, it must print false.
The last two arguments may not be sorted.
Write a program that reads three integer numbers and prints true if the first number is between the second and the third one (inclusive). Otherwise, it must print false.
The last two arguments may not be sorted.
Sample Input 1:
3 3 3Sample Output 1:
trueSample Input 2:
2 7 9Sample Output 2:
falseSample Input 3:
40 100 20Sample Output 3:
trueSample Input 4:
2 1 3Sample Output 4:
trueCreate a free account to access the full topic