Aktualizovat a1/program.c

This commit is contained in:
Tomáš Vlček 2026-02-26 23:21:11 +00:00 committed by unknown
parent e678920cff
commit 43c9e40f5d

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 else if (vstup == '\t')
{ {
putchar(vstup); putchar(vstup);
} }
@ -37,7 +37,6 @@ int main()
putchar(vstup); putchar(vstup);
} }
poslednyChar = vstup; poslednyChar = vstup;
//zase drobny refactor
} }
if (poslednyChar != '\n' && poslednyChar != EOF) if (poslednyChar != '\n' && poslednyChar != EOF)
{ {