Aktualizovat a1/program.c

This commit is contained in:
Tomáš Vlček 2026-02-25 07:30:17 +00:00
parent dbcecf1611
commit ef08efd7f6

View File

@ -14,10 +14,6 @@ int main()
pocetRiadkov += 1; pocetRiadkov += 1;
putchar(vstup); putchar(vstup);
} }
else if (vstup < 32 || vstup == 127)
{
continue;
}
else if (vstup == '\r') else if (vstup == '\r')
{ {
continue; continue;
@ -30,7 +26,7 @@ int main()
{ {
putchar(tolower(vstup)); putchar(tolower(vstup));
} }
else if (vstup >= 32 && vstup <= 126) else if (vstup >= 32 && vstup <= 255)
{ {
putchar(vstup); putchar(vstup);
} }