View Code of Problem 55

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

Double click to view unformatted code.


Back to problem 55