definition for variables ans2

this variable checks to see if variable ans2 is contains a number or
not.