From 0b4e4b2f300b914b3c06300ec74a7c72e16698ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Vl=C4=8Dek?= Date: Wed, 25 Feb 2026 07:57:43 +0000 Subject: [PATCH] Aktualizovat a1/program.c --- a1/program.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/a1/program.c b/a1/program.c index 447d44f..b740c09 100644 --- a/a1/program.c +++ b/a1/program.c @@ -1,7 +1,6 @@ #include #include -int trebaPridatNewLine = 1; int main() { int pocetRiadkov = 0; @@ -34,11 +33,6 @@ int main() } } - if (trebaPridatNewLine == 1) - { - char NewLine = '\n'; - printf("%c", NewLine); - } - printf("Lines_count: %d\n", pocetRiadkov); + printf("\nLines_count: %d\n", pocetRiadkov); return 0; }