From b5341ca97562724c80faee0c6ee44c8d896f603b Mon Sep 17 00:00:00 2001 From: Weber Date: Wed, 21 Feb 2024 19:16:57 +0000 Subject: [PATCH] skuska --- cv1/program.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cv1/program.c b/cv1/program.c index 79b4f8d..7af7eb7 100644 --- a/cv1/program.c +++ b/cv1/program.c @@ -9,12 +9,12 @@ int main() { line_count++; } else { if (!((ch >= 'A' && ch <= 'Z') || (ch >= 'a' && ch <= 'z')) && !(ch >= 32 && ch <= 126)) { - continue; // Skip control characters and non-printable characters + continue; } putchar((ch >= 'a' && ch <= 'z') ? (ch - 32) : (ch + 32)); } } - + printf("\nLines count: %d\n", line_count); return 0;