Question: Absolutely in c++ : The program repeatedly prompts the user to enter a sentence to be censored. After a sentence is entered, the program searches
Absolutely in c++ :
The program repeatedly prompts the user to enter a sentence to be censored. After a sentence is entered, the program searches for the word "hell" and replaces with "heck". The original and censored sentences are displayed within quotes. The program should continue to ask for sentences to censor until user enters null string. Output should look like following: Enter Sentence ==> Hell, its hot as hell looking for shells in hell! Original : "Hell, its hot as hell looking for shells in hell!" Censored : "Heck, its hot as heck looking for shells in heck!" -------------------------------------------------------------------- Enter Sentence ==> Hello Hell. Original : "Hello Hell." Censored : "Hello Heck."
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
