#include"stdio.h" int main(){ char c[100],b; gets(c); scanf("%c",&b); int i,k; k=strlen(c); for(i=0;i<k;i++){ if(c[i]!=b) printf("%c",c[i]); } return 0; }
Double click to view unformatted code.