# include
# define N 20
int main(void)
{
char ch[N], find;
int i;
printf("请输入字符串:");
scanf("%s", ch);
printf("请输入你要查找的字符:");
scanf("%c", &find);
for(i=0; i
if (ch[i] != find)
putchar(ch[i]);
}
return 0;
}