diff --git a/cv2/program.c b/cv2/program.c index 1a077df..1b0053b 100644 --- a/cv2/program.c +++ b/cv2/program.c @@ -11,8 +11,7 @@ int main() { } if (cislo < 1) { - printf("Neplatne cislo zadane. Koniec nacitania.\n"); - return 1; + break; } pole[pocetCisel] = cislo;