diff --git a/du5/program.c b/du5/program.c index 4cf3b6a..7c14ecf 100644 --- a/du5/program.c +++ b/du5/program.c @@ -37,6 +37,7 @@ int main(){ printf("Nepodarilo nacitat nic\n"); return 0; } + if(line[0]<'0'||line[0]>'9')break; char *name=end+1; int id = find_student(databaza,size,name);