From 65292dc71b91c620bd170a017490f20f6a4a4232 Mon Sep 17 00:00:00 2001 From: VIliam Date: Fri, 22 Mar 2024 00:26:48 +0100 Subject: [PATCH] cv5 --- cv5/program.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cv5/program.c b/cv5/program.c index 9f79de8..e0a125b 100644 --- a/cv5/program.c +++ b/cv5/program.c @@ -74,10 +74,11 @@ int main() { qsort(database, size, sizeof(struct student), compare); // Výpis výsledkov - printf("Výsledky:\n"); for (int i = 0; i < size; ++i) { printf("%d %s\n", database[i].votes, database[i].name); } + printf("\n"); + return 0; }