From 8af04d02e43b8ea55c5d79fc0efae0a63469f91b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Vl=C4=8Dek?= Date: Mon, 30 Mar 2026 08:10:40 +0000 Subject: [PATCH] Aktualizovat a3/program.c --- a3/program.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/a3/program.c b/a3/program.c index fe4cfe4..4dd8b8b 100644 --- a/a3/program.c +++ b/a3/program.c @@ -66,15 +66,15 @@ int main() qsort(student, STUDENT_SIZE, sizeof(struct studentApplication), compare); // vypis vysledkov: + puts("Prijati studenti:"); for (int i = 0; i < studentsAmount; i++) { - puts("Prijati studenti:"); puts(student[i].name); } - + + puts("Neprijati studenti:"); for (int i = studentsAmount; student[i].name[0] != '\0'; i++) { - puts("Neprijati studenti:"); puts(student[i].name); }