pvjc21/du1/program.c

19 lines
248 B
C
Raw Normal View History

2021-03-01 17:35:22 +00:00
#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;
}