View Code of Problem 55

#include <stdio.h>
#include <string.h>
int main()
{
	int i,len;
  	char c,str[20];
  	gets(str);
  	c=getchar();
  	len=strlen(str);
  	for(i=0;i<len;++i)
          if(str[i]!=c)
            printf("%c",str[i]);
  
  





}

Double click to view unformatted code.


Back to problem 55