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; -} +