View Code of Problem 55

#include<stdio.h>
#include<math.h>
int main()
{
	char s[100],c1;
	int i;
	gets(s);
	scanf("%c",&c1);
	for(i=0;s[i]!='\0';i++)
	{
		if(s[i]!=c1)
			putchar(s[i]);
	}
	printf("\n");
	return 0;
}

Double click to view unformatted code.


Back to problem 55