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;
}

Respuesta :

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)
Ver imagen DakotaLessen