Initialization
This commit is contained in:
parent
b3f28e8016
commit
d48b60a0fb
@ -38,13 +38,13 @@ int main() {
|
||||
if (num_accepted == 0) {
|
||||
printf("Ziadne prihlasky");
|
||||
} else {
|
||||
printf("Prijati studenti:");
|
||||
printf("Prijati studenti:\n");
|
||||
for (int i = 0; i < num_accepted; i++) {
|
||||
printf("%s", names[i]);
|
||||
}
|
||||
|
||||
if (num_students > num_accepted) {
|
||||
printf("Neprijati studenti:");
|
||||
printf("\nNeprijati studenti:\n");
|
||||
for (int i = 0; i < num_students; i++) {
|
||||
int found = 0;
|
||||
for (int j = 0; j < num_accepted; j++) {
|
||||
|
Loading…
Reference in New Issue
Block a user