I'm stuck on a problem in Zybooks, the goal is to take a 2-character string input and replace any white space with an underscore. I'm pretty sure I'm on the right track but something is obviously wrong because I'm getting a run-time error
#include <iostream>
#include <string>
#include <cctype>
using namespace std;