use a cout statement asking the user what type of severity they want like
//...
std::string choice;
cout << "Please enter the severity you want.\n";
cout << "Your choices are: warning, success, information, and error: ";
cin >> choice
//...
}
Reputation Points: 215
Solved Threads: 186
Veteran Poster
Offline 1,066 posts
since Apr 2009