Aktualizovat a3/program.c
This commit is contained in:
parent
96b3572f94
commit
8af04d02e4
@ -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);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user