Update 'cv1/program.c'

This commit is contained in:
Michal Utľák 2024-02-21 13:12:01 +00:00
parent efbdedcbd0
commit d20fa3242f

View File

@ -2,11 +2,8 @@
int main() { int main() {
int text; int text;
<<<<<<< HEAD
int lines_count = 0; int lines_count = 0;
=======
>>>>>>> fc919bf24f3667c09c78a8a23ed365424347b363
while ((text = getchar()) != EOF) { while ((text = getchar()) != EOF) {
if (text >= 'a' && text <= 'z') { if (text >= 'a' && text <= 'z') {
text = text - 'a' + 'A'; text = text - 'a' + 'A';
@ -17,11 +14,6 @@ int main() {
} else if (text < 32 || text == 127) { } else if (text < 32 || text == 127) {
continue; continue;
} }
<<<<<<< HEAD
=======
printf("hello world\n");
return 1;
>>>>>>> fc919bf24f3667c09c78a8a23ed365424347b363
putchar(text); putchar(text);
} }