There, that is my code, why does whenever I type in a negative value(i.e. -1, -22, -3, -555, etc.) the code still continues to ask to enter an integer and do not breaks, but when i enter 0 it breaks? Help what is wrong with my codes?. Thanks for help.Code:#include<stdio.h> int main (void) { int num1; while (num1) { printf("Please enter an integer:\n"); scanf("%d", &num1); if((num1>0)&&(num1<=100)) printf("%d\n", num1); continue; if(num1<0) printf("Invalid entry. loop will terminate, Bye!"); break; if(num1==0) break; } return 0; }