Initialization
This commit is contained in:
parent
6874137ac4
commit
5685c0e1ad
@ -41,14 +41,14 @@ 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", names[i]);
|
printf("%s\n", names[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (num_accepted < max_students) {
|
if (num_accepted < max_students) {
|
||||||
printf("Neprijati studenti:\n");
|
printf("Neprijati studenti:\n");
|
||||||
for (int i = num_accepted; i < max_students; i++) {
|
for (int i = num_accepted; i < max_students; i++) {
|
||||||
printf("%s", names[i]);
|
printf("%s\n", names[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user