Mathematica:
Switch[{i > 4, i < 10},
{True, True}, "between 4 and 10",
{True, False}, "greater than 10",
{False, True}, "less than 4",
{False, False}, "your computer thinking is very odd"
]
, , 4 4, 10 10, .
:
Which[
i < 4, "less than 4",
4 <= i <= 10, "between 4 and 10",
i > 10, "greater than 10",
True, "your computer thinking is very odd"
]