corection4

This commit is contained in:
kr820js 2024-02-22 13:47:39 +01:00
parent 3a254bf726
commit cec61287a9

View File

@ -6,6 +6,7 @@ int main()
char c;
int counter=0;
while ((c = getchar()) != EOF) {
if (c >= 32 && c <= 126){
if(c<='z'&&c>='a'){
c=c+('A'-'a');
}else if(c<='Z'&&c>='A'){
@ -16,6 +17,7 @@ int main()
}
printf("%c",c);
}
}
printf("\nLines count: %d\n",counter);
return 0;
}