pvjc21/du1/program.c
Matej Chmelár eb88512ab3 first push
2021-03-01 18:35:22 +01:00

19 lines
248 B
C

#include <stdio.h>
#include <ctype.h>
int main() {
int c = 0;
while(1) {
c = getchar();
}
if (c == islower(c)) {
c = toupper(c);
}
else if (c == isupper(c)) {
c = tolower(c);
}
return 0;
}