Compare commits

...

2 Commits

Author SHA1 Message Date
0355e73121 skuska 2024-02-21 14:07:37 +01:00
d82c85bd7d skuska 2024-02-21 14:07:17 +01:00

View File

@ -1,8 +1,28 @@
#include<stdio.h> #include <stdio.h>
int main(){ int main() {
int text;
<<<<<<< HEAD
while ((text = getchar()) != EOF) {
if (text >= 'a' && text <= 'z') {
text = text - 'a' + 'A';
} else if (text >= 'A' && text <= 'Z') {
text = text - 'A' + 'a';
} else if (text == '\n') {
printf("\n");
continue;
} else if (text < 32 || text == 127) {
continue;
}
=======
printf("hello world\n"); printf("hello world\n");
return 1; return 1;
>>>>>>> ae41227d7eccd9cfc8364f26b732c73f151b6d66
putchar(text);
}
printf("\nPocet riadkov: 1\n");
return 0;
} }