try9
This commit is contained in:
parent
1485b362ef
commit
8c7decd899
@ -35,7 +35,7 @@ int main() {
|
||||
|
||||
for (int i = 0; i < count; i++) {
|
||||
if (results[i] == max) {
|
||||
printf("Výherca je súťažiaci %d ktorý vypil %d pohárov.\n", i + 1, results[i]);
|
||||
printf("Výherca je súťažiaci %d ktorý vypil %d pohárov.\n", i + 1, max);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user