View Code of Problem 55

#include<stdio.h>

int main()
{
	char ch;
	char s[100];
	gets(s);
	ch = getchar();
	int i;
	for(i=0;s[i]!='\0';i++)
	{
		if(s[i]!=ch)
		{
			printf("%c", s[i]);
		}
	}
	return 0;
} 

Double click to view unformatted code.


Back to problem 55