diff --git a/du6/program.c b/du6/program.c index b1bef47..3be8e7e 100644 --- a/du6/program.c +++ b/du6/program.c @@ -21,7 +21,7 @@ struct LIS list[100]; int places=0; int k; k=scanf("%d",&places); -if(k!=1 || places<0){ +if(k!=1 || places<=0){ puts("Nespravny vstup"); } else{