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.