#!/bin/ksh echo "What is the smallest prime number that is larger than 50? \c" START=$SECONDS read ANSWER FINISH=$SECONDS echo "You took $((FINISH - START)) seconds to answer" echo ((FINISH - START)) if [ $ANSWER -ne 53 ]; then echo " and you were incorrect; the answer is 53." fi