From 29999f482a799ac9d5dc1cf2dd4a37766bd1500a Mon Sep 17 00:00:00 2001 From: Andrii Hermaniuk Date: Thu, 7 Apr 2022 16:57:17 +0200 Subject: [PATCH] ds --- du5/program.c | 1 + 1 file changed, 1 insertion(+) 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);