diff --git a/a1/program.c b/a1/program.c index 2322bad..172a2b8 100644 --- a/a1/program.c +++ b/a1/program.c @@ -23,7 +23,7 @@ int main(){ } Dnes_Datum[id]='\0'; - for(int i=0;i='0'&&Dnes_Datum[i]<='9')||Dnes_Datum[i]==' '); else { printf("Neplatny datum.\n");