first push

This commit is contained in:
Matej Chmelár 2021-03-01 18:35:22 +01:00
commit eb88512ab3

18
du1/program.c Normal file
View 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;
}