标签:
/* Note:Your choice is C IDE */ #include<stdio.h> void main() { char x=‘a‘; printf("please input ABC:"); scanf("%c",&x); if( x>=‘A‘ && x<=‘Z‘) { x=x+32; printf("%c\n",x); } else if( x>=‘a‘ && x<=‘z‘) { x=x-32; printf("%c\n",x); } else { printf("input mistake"); } } getch();
标签:
原文地址:http://www.cnblogs.com/lingzhipeng123/p/5969350.html