c do while loop doesn't work?

Posted by tom on Stack Overflow See other posts from Stack Overflow or by tom
Published on 2010-03-21T15:13:25Z Indexed on 2010/03/21 15:21 UTC
Read the original article Hit count: 250

Filed under:
do
{
    printf("Enter number (0-6): ", "");
    scanf("%d", &Num);
}while(Num >= 0 && Num <=6);

any ideas?

© Stack Overflow or respective owner

Related posts about c