diff --git a/cv2/program.c b/cv2/program.c index 0e7641e..5b567ad 100644 --- a/cv2/program.c +++ b/cv2/program.c @@ -14,7 +14,8 @@ int main(){ break; } if (input < 0) { - break; + printf("Chyba: Málo platných hodnôt.\n") + break; } field[count] = input; count++;