View Code of Problem 55

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

Double click to view unformatted code.


Back to problem 55