From bd75f93a608f7eaa12968164fe855b015f9c10d2 Mon Sep 17 00:00:00 2001 From: Vladyslav Korzun Date: Sun, 19 Feb 2023 10:42:56 +0000 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B8=D0=BB(?= =?UTF-8?q?=D0=B0)=20=D0=BD=D0=B0=20'du1/program.c'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- du1/program.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/du1/program.c b/du1/program.c index 4734dea..36b62e2 100644 --- a/du1/program.c +++ b/du1/program.c @@ -16,16 +16,17 @@ riadok++; if((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z')){ if(islower(c)){ c = toupper(c); -printf("%c\n", c); +//printf("%c\n", c); riadok++; count++; } if(isupper(c) && count == 0){ c = tolower(c); -printf("%c\n", c); +//printf("%c\n", c); riadok++; } } +putchar(c); } riadok--; printf("\nPočet riadkov: %d\n", riadok);