I'm trying to write a loop, but there are two major problems. The 0 sentinel never works, and after one time through, it says:

Segmentation Fault (core dumped)

I don't even know what that means. Please go easy on me b/c this a first for me.

Code:
printf("\n\nEnter ID, 0 to exit");
while(ID != 0);
scanf("%d",&ID);
{
   blah
   blah
   blah
printf("\n\nEnter ID, 0 to exit");
scanf("%d", ID
}