Aktualizovat a1/program.c

This commit is contained in:
Tomáš Vlček 2026-02-20 22:52:50 +00:00
parent 585bfb9072
commit 15d44f543e

View File

@ -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;