From 15d44f543e4f37d104cb1ae5175a9d512f73aab6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Vl=C4=8Dek?= Date: Fri, 20 Feb 2026 22:52:50 +0000 Subject: [PATCH] Aktualizovat a1/program.c --- a1/program.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/a1/program.c b/a1/program.c index 546ce3e..9348682 100644 --- a/a1/program.c +++ b/a1/program.c @@ -21,17 +21,17 @@ int main() putchar(vstup); } - if (islower(vstup) != 0) + else if (islower(vstup) != 0) { putchar(toupper(vstup)); } - if (isupper(vstup) != 0) + else if (isupper(vstup) != 0) { putchar(tolower(vstup)); } - if (iscntrl(vstup) != 0) + else if (iscntrl(vstup) != 0) { //preskoci iteraciu/cyklus, ak neviditelny znak, resp. nevypise ho continue;