uloha1
This commit is contained in:
parent
c34e51c132
commit
533848832d
@ -19,13 +19,15 @@ int main() {
|
|||||||
else if (c == '\n') {
|
else if (c == '\n') {
|
||||||
|
|
||||||
lines_count++;
|
lines_count++;
|
||||||
|
|
||||||
|
putchar('\n');
|
||||||
}
|
}
|
||||||
|
|
||||||
putchar(c);
|
putchar(c);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
printf("\nLines Count: %d\n", lines_count);
|
printf("Lines count: %d\n", lines_count);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user