From 9d68d38748a2989f55a591eea82f5236b07cd2ce Mon Sep 17 00:00:00 2001 From: ak643du Date: Wed, 21 Feb 2024 18:21:04 +0100 Subject: [PATCH] changes --- cv1/program.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cv1/program.c b/cv1/program.c index c443477..b826f10 100644 --- a/cv1/program.c +++ b/cv1/program.c @@ -14,7 +14,10 @@ int main(){ else if (c == '\n') { line_count++; // Zvýšte počítadlo riadkov na konce riadka } - else if (c < ' ' || c >= 127 || c == '\t') { + else if (c == '\t'){ + putchar(c); + } + else if (c < ' ' || c >= 127) { continue; // Preskočiť značky }