Initialization
This commit is contained in:
parent
0c6b56eb39
commit
bbd3453d97
@ -41,13 +41,13 @@ int main() {
|
|||||||
// Sort the applications alphabetically
|
// Sort the applications alphabetically
|
||||||
qsort(applications, i, sizeof(char *), compare_names);
|
qsort(applications, i, sizeof(char *), compare_names);
|
||||||
|
|
||||||
printf("Prijati studenti:\n");
|
printf("Prijati studenti:");
|
||||||
for (j = 0; j < i; j++) {
|
for (j = 0; j < i; j++) {
|
||||||
printf("%s\n", applications[j]);
|
printf("%s\n", applications[j]);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (count < i) {
|
if (count < i) {
|
||||||
printf("Neprijati studenti:\n");
|
printf("Neprijati studenti:");
|
||||||
for (; j < i; j++) {
|
for (; j < i; j++) {
|
||||||
printf("%s\n", applications[j]);
|
printf("%s\n", applications[j]);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user