用switch实现字母小写转化?
编辑:星期三 |
#include <stdio.h>void main(void){ char t; scanf("%c", &t); switch(t) { case 'a': case 'b': case 'c': case 'd': case 'e': printf("%c\n", t+0x20); break; default: printf("%s\n", "other\n"); break; }}
折后
3901元
淘口令
立即购买
折后
3048元
淘口令
立即购买
折后
3659元
淘口令
立即购买
折后
1948元
淘口令
立即购买