- #1
ineedhelpnow
- 651
- 0
Print "Censored" if user text contains the word "darn", else print userInput. end with new line.
Sample program:
I'm super lost on this. I could definitely use some help/hints. Thanks.
Sample program:
Code:
#include
#include
using namespace std;
int main() {
string userInput;
userInput = "That darn cat.";
<student code>
return 0;
}
I'm super lost on this. I could definitely use some help/hints. Thanks.