View Code of Problem 55

#include <stdio.h>

int main() {
	char str[20];
	scanf("%s", str);
	char ch;
	scanf("%s", &ch);
	int i;
	for (i = 0; str[i] != '\0'; i++) {
		if (str[i] != ch) {
			printf("%c", str[i]);
		}
	}
}

Double click to view unformatted code.


Back to problem 55