用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; }}
折后
4200元
淘口令
立即购买
折后
1850.6元
淘口令
立即购买
折后
3298元
淘口令
立即购买
折后
3749元
淘口令
立即购买