View Code of Problem 55

#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.


Back to problem 55