first push
This commit is contained in:
commit
eb88512ab3
18
du1/program.c
Normal file
18
du1/program.c
Normal file
@ -0,0 +1,18 @@
|
||||
#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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user