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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!