It is okay but you should be able to type up to 60+ words per minute and keep doing that to practice then if you can get into a typing class.
Answer:
#include <string>
#include <iostream>
using namespace std;
int main() {
string userInput;
getline(cin, userInput);
// Here, an integer variable is declared to find that the user entered string consist of word darn or not
int isPresent = userInput.find("darn");
if (isPresent > 0){
cout << "Censored" << endl;
// Solution starts here
else
{
cout << userInput << endl;
}
// End of solution
return 0;
}
// End of Program
The proposed solution added an else statement to the code
This will enable the program to print the userInput if userInput doesn't contain the word darn
Answer:
C. Accept the risk
Explanation:
The first option is close but might not be suitable for a small company considering it's cost.
The second option which is to spend fifty thousand dollars per year on a data loss prevention solution is projected to cost you more than the risk.
The third option isn't specific and lacks a course of action.