Update 'cv1/program.c'

This commit is contained in:
Weber 2024-02-21 19:01:26 +00:00
parent 508110160b
commit fe1686ea26

View File

@ -1,12 +1,12 @@
#include <stdio.h>
#include <ctype.h>
#include <ctype.h>
int main() {
char ch;
int line_count = 0;
while ((ch = getchar()) != EOF) {
if (ch == '\n') {
putchar('\n')
line_count++;
} else {
if (isprint(ch)) {