#!/bin/ksh read age\?"How old are you? " if ((30 < age && age < 50)); then echo "Wow, in $((50-age)) years, you'll be 50!" fi