Aktualizovat a1/program.c
This commit is contained in:
parent
585bfb9072
commit
15d44f543e
@ -21,17 +21,17 @@ int main()
|
|||||||
putchar(vstup);
|
putchar(vstup);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (islower(vstup) != 0)
|
else if (islower(vstup) != 0)
|
||||||
{
|
{
|
||||||
putchar(toupper(vstup));
|
putchar(toupper(vstup));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isupper(vstup) != 0)
|
else if (isupper(vstup) != 0)
|
||||||
{
|
{
|
||||||
putchar(tolower(vstup));
|
putchar(tolower(vstup));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (iscntrl(vstup) != 0)
|
else if (iscntrl(vstup) != 0)
|
||||||
{
|
{
|
||||||
//preskoci iteraciu/cyklus, ak neviditelny znak, resp. nevypise ho
|
//preskoci iteraciu/cyklus, ak neviditelny znak, resp. nevypise ho
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user