From 8c7decd899dbb0e8e0895a90fa98e2a06815a242 Mon Sep 17 00:00:00 2001 From: Denis Landa Date: Thu, 27 Feb 2025 19:23:27 +0100 Subject: [PATCH] try9 --- du1/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/du1/program.c b/du1/program.c index 2f1d559..ef900b6 100644 --- a/du1/program.c +++ b/du1/program.c @@ -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); } }