Hi I hope someone can help me with this. I am working on a program that asks the user to select an item from the menu 1-6. I have a while statement that returns to the loop if the user selects any other number. while(userAns<1)||(userAns>6)) I am trying to create an isdigit if statement that will return to the loop if the user selects a char. I have: if(isdigit(c)) I declared my char c, and have the #include<ctype.h> Should the while statement and the if statement be together? The while statement works but the if just loops. Thanks [EMAIL=joejonsmom]function isdigit What am I missing?