Update 'cv1/program.c'
This commit is contained in:
parent
508110160b
commit
fe1686ea26
@ -4,9 +4,9 @@
|
||||
int main() {
|
||||
char ch;
|
||||
int line_count = 0;
|
||||
|
||||
while ((ch = getchar()) != EOF) {
|
||||
if (ch == '\n') {
|
||||
putchar('\n')
|
||||
line_count++;
|
||||
} else {
|
||||
if (isprint(ch)) {
|
||||
|
Loading…
Reference in New Issue
Block a user