Initialization
This commit is contained in:
parent
3705b17f77
commit
2dd1308057
@ -46,10 +46,12 @@ int main() {
|
|||||||
|
|
||||||
if (num_accepted < max_students && num_accepted < num_students) {
|
if (num_accepted < max_students && num_accepted < num_students) {
|
||||||
printf("Neprijati studenti:");
|
printf("Neprijati studenti:");
|
||||||
for (int i = num_accepted; i < max_students; i++) {
|
for (int i = 0; i < max_students; i++) {
|
||||||
printf("%s", names[i]);
|
if (names[i][0] == '\0') {
|
||||||
|
printf("%s", names[i]);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user