Initialization

This commit is contained in:
Kozar 2024-04-22 14:12:07 +02:00
parent 3b4e295c1e
commit 6874137ac4

View File

@ -41,14 +41,14 @@ int main() {
} else {
printf("Prijati studenti:\n");
for (int i = 0; i < num_accepted; i++) {
printf("%s\n", names[i]);
printf("%s", names[i]);
}
}
if (num_accepted < max_students) {
printf("Neprijati studenti:\n");
for (int i = num_accepted; i < max_students; i++) {
printf("%s\n", names[i]);
printf("%s", names[i]);
}
}