Initialization

This commit is contained in:
Kozar 2024-04-25 18:59:46 +02:00
parent 29ca99a838
commit ac50e1467a

View File

@ -54,13 +54,13 @@ int main() {
} }
} }
printf("Prijati studenti:\n"); printf("Prijati studenti:");
for (j = 0; j < (count < i ? count : i); j++) { for (j = 0; j < (count < i ? count : i); j++) {
printf("%s\n", applications[j]); printf("%s\n", applications[j]);
} }
if (count < i) { if (count < i) {
printf("Neprijati studenti:\n"); printf("Neprijati studenti:");
for (; j < i; j++) { for (; j < i; j++) {
printf("%s\n", applications[j]); printf("%s\n", applications[j]);
} }