C语言学习(9)

 1 #include <stdio.h>
 2 #include <string.h>
 3 int main(){
 4     char s[100];
 5     gets(s);
 6     printf("原字符串:%s\n",s);
 7     printf("变大写字符串%s\n",strupr(s));
 8     printf("变小写字符串%s\n",strlwr(s));
 9     return 0;
10 }

 

 

posted on 2018-06-27 18:41  孙悟空son_ku_kong  阅读(107)  评论(0编辑  收藏  举报

导航