Aktualizovat „du1/program.c“

This commit is contained in:
Bohdan Yanchyk 2020-03-01 09:29:47 +00:00
parent bd88a739f6
commit b12dd50250

View File

@ -15,16 +15,12 @@ int main() {
word += 32;
}
if (word == '\n') {
while (word + i == '\n') {
count++;
i++;
}
i = 0;
printf("\n\nPočet riadkov: %d", count);
count = 0;
count++;
}
putchar(word);
}
}
printf("\n\nPočet riadkov: %d", count);
return 0;
}