This commit is contained in:
Kozar 2024-02-28 13:27:31 +01:00
parent 45a1dc21e6
commit cf1436966a

View File

@ -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;