Aktualizovat a1/program.c
This commit is contained in:
parent
0f501d69d2
commit
231ae89526
@ -4,13 +4,10 @@
|
||||
int main()
|
||||
{
|
||||
int pocetRiadkov = 0;
|
||||
while (1)
|
||||
while (vstup)
|
||||
{
|
||||
int vstup = getchar();
|
||||
if (vstup == EOF)
|
||||
{
|
||||
break;
|
||||
}
|
||||
if (vstup == EOL) {break;}
|
||||
|
||||
if (vstup == '\n')
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user