C:大写字母转小写字母;
#include <stdio.h>
int main(){
char ch;
printf("Please Type a char:n");
scanf("%c",&ch);
if(ch>='A'&&ch<='Z')
ch=ch+32;
printf("%c",ch);
return 0;
}
#include <stdio.h>
int main(){
char ch;
printf("Please Type a char:n");
scanf("%c",&ch);
if(ch>='A'&&ch<='Z')
ch=ch+32;
printf("%c",ch);
return 0;
}