From 5c95d6b3b824697e1fc1a734a37a0df0a38cd3a1 Mon Sep 17 00:00:00 2001 From: Bohdan Yanchyk Date: Thu, 16 Apr 2020 08:23:17 +0000 Subject: [PATCH] =?UTF-8?q?Aktualizovat=20=E2=80=9Edu6/program.c=E2=80=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- du6/program.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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