Programming exercise, for your review.Modify to suit your specific requirements.http://www.savefile.com/files/218270