include<string.h> define LEN 100 void delete_same(char * str,char ch){ int i=0;for(i=0;str[i]!=0;i++){ if(str[i]==ch){ strcpy(str+i,str+i+1);/*删除相同元素*/ } i--;} } void main(){ char ch;char str[LEN];printf("Please input the string:");gets(str...