Ask Question
11 December, 20:19

Rint "Censored" if userInput contains the word "darn", else print userInput. End with newline.

#include

#include

using namespace std;

int main () {

string userInput;

userInput = "That darn cat.";

/ * Your solution goes here * /

return 0;

}

+3
Answers (1)
  1. 12 December, 00:04
    0
    This is the closest thing I could come up with since I don't really know c++. (just so it's easier maybe put the name of the programming language)
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “Rint "Censored" if userInput contains the word "darn", else print userInput. End with newline. #include #include using namespace std; int ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers