first program submiting
This commit is contained in:
parent
bfb9fc71e1
commit
7744b6e718
@ -1 +1,16 @@
|
||||
#include <stdio.h>
|
||||
|
||||
|
||||
int main()
|
||||
{
|
||||
char c;
|
||||
while ((c = getchar()) != EOF) {
|
||||
if(c<='z'&&c>='a'){
|
||||
c=c+('A'-'a');
|
||||
}else if(c<='Z'&&c>='A'){
|
||||
c=c-('A'-'a');
|
||||
}
|
||||
printf("%c",c);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user