Simple conditions

Control flow / Conditional statements / switch/case statements

RANDOM=42
size=$(( RANDOM % 14 + 14 ))
#size is from 14 to 27

#| joins several values of one branch, ;; ends the branch,
#*) takes everything else
case $size in
    14 | 15)
        verdict="too small"
        ;;
    16 | 17 | 18)
        verdict="good for the past decade"
        ;;
    19 | 20 | 21 | 22 | 23)
        verdict="for office work"
        ;;
    24 | 25 | 26 | 27)
        verdict="great choice"
        ;;
    *)
        verdict="unknown size"
        ;;
esac

echo "size is $size"
echo "verdict is $verdict"