diff --git a/cv2/program.c b/cv2/program.c index 0330310..5b67c99 100644 --- a/cv2/program.c +++ b/cv2/program.c @@ -9,10 +9,6 @@ int main(){ int input; while (count < FIELD_SIZE) { - if (scanf("%d", &input) != 1) { - printf("Chyba pri nacitavani. Koniec vstupu.\n"); - break; - } if (input < 0) { printf("Ukoncenie zadavania.\n"); break; @@ -23,7 +19,7 @@ int main(){ printf("Vypisane hodnoty:\n"); for (int i = 0; i < count; i++) { - printf("Sutaziaci c. %d vypil %d poharov.\n", i + 1, field[i]); + printf("Sutaziaci č. %d vypil %d pohárov.\n", i + 1, field[i]); } return 0;