Initialization
This commit is contained in:
parent
3b4e295c1e
commit
6874137ac4
@ -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\n", names[i]);
|
printf("%s", 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\n", names[i]);
|
printf("%s", names[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user