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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started