huhaoer
全部博文(91)
考试题(0)
幽默与思考(2)
一句话精彩问答(5)
CCNA辅助资料1(13)
2011年(1)
2010年(4)
2009年(86)
Bsolar
qq197062
分类: C/C++
2009-06-12 10:49:45
#include <stdio.h>void main(){ char a,b; printf("请输入大写字母:"); a=getchar();b=getchar(); b=a-'A'+'a'; printf("%c的小写字母是%c\n",a,b);}
上一篇:continue用法
下一篇:ascii码整合
登录 注册