From 16ba1cb4f401a0d2595873ef084a050ab01d2e39 Mon Sep 17 00:00:00 2001 From: ak643du Date: Wed, 28 Feb 2024 14:27:14 +0100 Subject: [PATCH] G --- cv2/program.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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++;