View Code of Problem 55

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

Double click to view unformatted code.


Back to problem 55