Initialization

This commit is contained in:
Kozar 2024-04-22 17:39:49 +02:00
parent bf02cedc37
commit d9ee7802d1

View File

@ -42,7 +42,10 @@ int main() {
} else { } else {
printf("Prijati studenti:\n"); printf("Prijati studenti:\n");
for (int i = 0; i < num_accepted; i++) { for (int i = 0; i < num_accepted; i++) {
printf("%s\n", names[i]); printf("%s", names[i]);
if (i < num_accepted - 1) {
printf("\n");
}
} }
} }