Compare commits

...

11 Commits

Author SHA1 Message Date
b928f90e63 revert 856fa890a2
revert Aktualizovat a1/program.c
2026-02-27 00:46:12 +01:00
43c9e40f5d Aktualizovat a1/program.c 2026-02-27 00:46:12 +01:00
e678920cff drobny refactor 2026-02-27 00:46:12 +01:00
62d964a0fe Prosim for the love of god 2026-02-27 00:46:12 +01:00
cc91978ffb Slight changes 2026-02-27 00:46:12 +01:00
820e331220 Aktualizovat a1/program.c 2026-02-27 00:46:12 +01:00
0545c5c323 Aktualizovat a1/program.c 2026-02-27 00:46:12 +01:00
95eb411ac9 Aktualizovat a1/program.c 2026-02-27 00:46:12 +01:00
ad6fd4e2ae Aktualizovat a1/program.c 2026-02-27 00:46:12 +01:00
4aea458969 pls work 2026-02-27 00:46:12 +01:00
91e4d7dbd8 refactor
Refactoring
2026-02-27 00:44:27 +01:00

View File

@ -16,7 +16,7 @@ int main()
putchar(vstup); putchar(vstup);
continue; continue;
} }
else if (vstup == '\t') //nemal by sa individualne handlovat tab vo vlastnom else if statemente, ale ajtak else if (vstup == '\t')
{ {
putchar(vstup); putchar(vstup);
} }
@ -32,12 +32,11 @@ int main()
{ {
putchar(tolower(vstup)); putchar(tolower(vstup));
} }
else if (vstup >= 32 && vstup <= 127) else
{ {
putchar(vstup); putchar(vstup);
} }
poslednyChar = vstup; poslednyChar = vstup;
} }
if (poslednyChar != '\n' && poslednyChar != EOF) if (poslednyChar != '\n' && poslednyChar != EOF)
{ {