22.2
This commit is contained in:
parent
f15275a775
commit
cb587235fc
@ -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;
|
||||
|
||||
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user