This commit is contained in:
Macko 2024-02-22 14:26:37 +01:00
parent f15275a775
commit cb587235fc

View File

@ -2,7 +2,7 @@
#include <ctype.h>
int main() {
int lines_count = -1;
int lines_count = 0;
int c;
while ((c = getchar()) != EOF) {
@ -21,5 +21,6 @@ int main() {
printf("Počet načítaných riadkov: %d\n", lines_count);
return 0;
}