View Code of Problem 55

#include <stdio.h>
int main()
{
	char str[100],c;
  	gets(str);
  	c=getchar();
  	for(int i=0;str[i]!='\0';i++)
        {
        	if(str[i]!=c)
                  printf("%c",str[i]);
        
        }
	return 0;
}

Double click to view unformatted code.


Back to problem 55