View Code of Problem 55

#include <stdio.h>
int main(int argc, char *argv[]) {
	char str[100];
	char c;
	gets(str);
	scanf("%c",&c);
	int i=0;
	while(str[i]){
		if(str[i]!=c){
			printf("%c",str[i]);
		}
		i++;
	}
	
}

Double click to view unformatted code.


Back to problem 55