From 01e0feb0a02da54f1a3c8809e4201c3192a81fec Mon Sep 17 00:00:00 2001 From: Bohdan Yanchyk Date: Thu, 26 Mar 2020 20:06:22 +0000 Subject: [PATCH] =?UTF-8?q?Aktualizovat=20=E2=80=9Edu3/program.c=E2=80=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- du3/program.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/du3/program.c b/du3/program.c index 0c69234..1f2d6f1 100644 --- a/du3/program.c +++ b/du3/program.c @@ -6,7 +6,6 @@ int main() { - printf("Enter date: "); char dateStr[11]; struct tm t; @@ -19,7 +18,7 @@ int main() strftime(dateStr, sizeof(dateStr), "%d.%m.%Y", &t); - printf("The day of the week is %s", dateStr); + printf("\n%s", dateStr); exit(EXIT_SUCCESS); return 0;