try6
This commit is contained in:
parent
b905bf87a3
commit
07b4b98269
@ -17,12 +17,12 @@ int main() {
|
||||
}
|
||||
|
||||
if (count == 0) {
|
||||
printf("Chyba: Malo platnych hodnot.\n");
|
||||
printf("Chyba: Málo platných hodnôt.\n");
|
||||
return 1;
|
||||
}
|
||||
|
||||
for (int i = 0; i < count; i++) {
|
||||
printf("Sutaziaci č. %d vypil %d poharov.\n", i + 1, results[i]);
|
||||
printf("Súťažiaci č. %d vypil %d pohárov.\n", i + 1, results[i]);
|
||||
}
|
||||
|
||||
int max = results[0];
|
||||
@ -34,7 +34,7 @@ int main() {
|
||||
|
||||
for (int i = 0; i < count; i++) {
|
||||
if (results[i] == max) {
|
||||
printf("Vyherca je sutažiaci %d ktory vypil %d poharov.\n", i + 1, results[i]);
|
||||
printf(" Výherca je súťažiaci %d ktorý vypil %d pohárov.\n", i + 1, results[i]);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user