View Code of Problem 55

#include<stdio.h>//sdf$$$sdf$$
//$
int main(){
	char str[100],a[100],ca;
	gets(str);
	ca=getchar();
	int i=0;
	int j=0;
	for(i=0;str[i]!='\0';i++){
		if(ca!=str[i]){
			a[j]=str[i];
			j++;
		}	
	}
	puts(a);
} 

Double click to view unformatted code.


Back to problem 55