Aktualizovat a1/program.c

This commit is contained in:
Tomáš Vlček 2026-02-20 23:49:40 +00:00
parent e949d0f8c5
commit 98c48a9952

View File

@ -22,12 +22,12 @@ int main()
{ {
putchar(tolower(vstup)); putchar(tolower(vstup));
} }
else if (!iscntrl(vstup)) else if (vstup >= 32 && vstup <= 128)
{ {
putchar(vstup); putchar(vstup);
} }
} }
printf("Lines_count: %d\n", pocetRiadkov); printf("\nLines_count: %d\n", pocetRiadkov);
return 0; return 0;
} }