Just enter a number and see whether it is odd or even. Try to fool it, and you will get an error message.
This a small project for my class.