View Code of Problem 55

#include<stdio.h>
#include<string.h>
int main()
{
	char s[100];
	gets(s);
	char w;
	scanf("%c",&w);
	for(int i=0;i<strlen(s);i++)
	{
		if(s[i]==w)continue;
		else printf("%c",s[i]);
	}
	
	
} 

Double click to view unformatted code.


Back to problem 55