#include<stdio.h>
#include<string.h>
#include<stdlib.h>
int main(int *argc ,char *argv[])
{
char a[100], *p = a;
printf("请输入一串大写字母:\n");
gets(p);
for (; *p != '\0'; p++)
{
if (*p >= 'A' && *p <= 'Z') {
*p = *p + 32;
}
}
printf("下面是大写字母转换成小写字母的样子:\n");
puts(a);
}