diff --git a/du6/program.c b/du6/program.c index 3259444..5362da8 100644 --- a/du6/program.c +++ b/du6/program.c @@ -95,10 +95,10 @@ int main() puts("Ziadne prihlasky"); return 0; } - printf("Prijati studenti:\n"); + puts("Prijati studenti:"); for(int i = 0+1; i < 1+SIZE; i++){ if(pole_smernikov[i] != NULL){ - printf("%s\n", pole_smernikov[i]); + printf("%s", pole_smernikov[i]); } else{ } @@ -109,7 +109,7 @@ int main() if(0 > (SIZE - pm)){ puts("Neprijati studenti:"); for(int i = SIZE+1; i