From a2bea1d86f15737b0fa561f3a18eadba0c80fc70 Mon Sep 17 00:00:00 2001 From: st529yr Date: Wed, 20 Mar 2024 13:44:02 +0100 Subject: [PATCH] funguje --- cv5/program.c | 71 ++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 70 insertions(+), 1 deletion(-) diff --git a/cv5/program.c b/cv5/program.c index 8dcaaca..a80632f 100644 --- a/cv5/program.c +++ b/cv5/program.c @@ -60,7 +60,7 @@ int main() { qsort(students, total_students, sizeof(Student), compare_students); // Print the outcome - printf("Outcome:\n"); + printf("Výsledky:\n"); for (int i = 0; i < total_students; i++) { printf("%d %s\n", students[i].votes, students[i].name); } @@ -69,3 +69,72 @@ int main() { } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +