Testing nested if statement

The program checks if the user enters a number or not then sees if it is odd or even