Update du1/program.c

funguje uz
This commit is contained in:
Kamil Gejdoš 2026-03-04 19:15:11 +00:00
parent 404c6ff14a
commit e117db2aca

View File

@ -0,0 +1,21 @@
#include <stdio.h>
int main(){
int c= 0;
while(1){
c = getchar();
if (c < 0) break;
if (c >= 97 && c <= 122){
c = c - 'a' + 'A';
} else
if (c >= 65 && c <= 90){
c = c - 'A' + 'a';
}
putchar(c);
}
return 0;
}