This commit is contained in:
Kamil Gejdoš 2026-03-04 20:18:30 +01:00
parent e117db2aca
commit c381ecc03f

21
a1/program.c Normal file
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;
}