Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

write a program that take a string and a character from the userand then search

ID: 3616017 • Letter: W

Question

write a program that take a string and a character from the userand then search taht character in the string and where thecharacter is match the string character at taht should beabolished?
e.g: { puts("Enter your string"); gets(string); cout<<"enter the character"; cin>>ch; }
end if user enter the string
Hello World
and character is
O then output should be
Hell Wrld That's all. Plz Use simple logic and try a simple and short code.
e.g: { puts("Enter your string"); gets(string); cout<<"enter the character"; cin>>ch; }
end if user enter the string
Hello World
and character is
O then output should be
Hell Wrld That's all. Plz Use simple logic and try a simple and short code.

Explanation / Answer

please rate - thanks #include using namespace std; int main() {int i,j; char s[50],ch; cout