View Code of Problem 55

#include <stdio.h>

int main()
{
	char tr[100]={0};
	char a;
	int i;
	gets(tr);
	scanf("%c",&a);
	for(i = 0; tr[i] != 0; ++i)
		if(tr[i] != a)
			printf("%c",tr[i]);
	return 0;
}

Double click to view unformatted code.


Back to problem 55