#include
#include
#define N 20
int main()
{
char ch[N];
int len,i;
printf("输入字符串:n");
gets(ch); //输入一串字符
len = strlen(ch);
for(i=0;i
#include
#include
#define N 20
int main()
{
char ch[N];
int len,i;
printf("输入字符串:n");
gets(ch); //输入一串字符
len = strlen(ch);
for(i=0;i