From 469f15a1387a964e6f520d24a63c91a1d2a72253 Mon Sep 17 00:00:00 2001 From: kr820js Date: Thu, 22 Feb 2024 13:57:02 +0100 Subject: [PATCH] corection6 --- cv1/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cv1/program.c b/cv1/program.c index c9ef35d..f7aa725 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=='\n'||(c >= 32 && c <= 126)){ + if (c=='\n'||c=='\t'||c=='\r' ||(c >= 32 && c <= 126)){ if(c<='z'&&c>='a'){ c=c+('A'-'a'); }else if(c<='Z'&&c>='A'){