diff --git a/cv1/program.c b/cv1/program.c index dd495de..c9ef35d 100644 --- a/cv1/program.c +++ b/cv1/program.c @@ -6,7 +6,7 @@ int main() char c; int counter=0; while ((c = getchar()) != EOF) { - if (c >= 32 && c <= 126){ + if (c=='\n'||(c >= 32 && c <= 126)){ if(c<='z'&&c>='a'){ c=c+('A'-'a'); }else if(c<='Z'&&c>='A'){