From 686ef90392a50bca1f2bda2c52525751ebf4a7f3 Mon Sep 17 00:00:00 2001 From: Artem Horbunov Date: Wed, 8 Apr 2020 16:25:49 +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 056e517..36acd29 100644 --- a/du6/program.c +++ b/du6/program.c @@ -79,7 +79,7 @@ int main(){ //Print names if(newLines <= lines){ - puts("Prijati studenti:"); + puts("Prijati studenti:\n"); for(int i = 0; i < newLines; i++){ printf("%s\n", newNames[i]); } @@ -88,11 +88,11 @@ int main(){ } } else{ - printf("Prijati studenti:"); + printf("Prijati studenti:\n"); for(int i = 0; i <= lines; i++){ printf("%s\n", newNames[i]); } - puts("Neprijati studenti:"); + puts("Neprijati studenti:\n"); for(int i = lines + 1; i < newLines; i++){ printf("%s\n", newNames[i]); }