Surely your teacher wouldn't have given you this assignment without first discussing 'while' loops. See perlsyn.
And why all the 'exit' calls?
Dave
In reply to Re: reprompt user input, until validation pass
by davido
in thread reprompt user input, until validation pass
by ganeshfriends
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |