29 lines
606 B
C
29 lines
606 B
C
#include <stdio.h>
|
|
|
|
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");
|
|
return 1;
|
|
>>>>>>> ae41227d7eccd9cfc8364f26b732c73f151b6d66
|
|
|
|
putchar(text);
|
|
}
|
|
|
|
printf("\nPocet riadkov: 1\n");
|
|
return 0;
|
|
}
|