
Patrick B. answered 05/04/21
Math and computer tutor/teacher
#include <iostream>
#include <iomanip>
#include <iostream>
#include <string>
using namespace std;
//Do not modify anything on or above the line below this
//YOUR_CODE_BELOW
//YOUR FUNCTION HERE
string stringTrim(string word)
{
int strLen = word.length();
return word.substr(1,strLen-2);
}
//YOUR_CODE_ABOVE
//Do not modify anything on or below the line above this
int main()
{
string word;
cin >> word;
string result = stringTrim(word);
cout << result << endl;
}