Aktualizovat a1/program.c
This commit is contained in:
parent
dbcecf1611
commit
ef08efd7f6
@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user