From 3de30c94681a5ca8a23d6f4f96fa34584e42af44 Mon Sep 17 00:00:00 2001 From: ak643du Date: Wed, 28 Feb 2024 14:30:10 +0100 Subject: [PATCH] Cv2 commit --- cv2/program.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cv2/program.c b/cv2/program.c index 5b567ad..baf42c0 100644 --- a/cv2/program.c +++ b/cv2/program.c @@ -7,14 +7,13 @@ int main(){ int count = 0; int max_num = 0; int input; - int winner_index = 0; while (count < FIELD_SIZE) { if (scanf("%d", &input) != 1) { break; } if (input < 0) { - printf("Chyba: Málo platných hodnôt.\n") + printf("Chyba: Málo platných hodnôt.\n"); break; } field[count] = input; @@ -36,4 +35,4 @@ int main(){ } return 0; -} +