Aktualizovat a1/program.c
This commit is contained in:
parent
e678920cff
commit
43c9e40f5d
@ -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)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user