cin >> "You are very good."
#include <iostream>
#include <string>
using namespace std;
int main()
{
string s;
cin >> s;
while (getline(cin, s))
{
while (s.find("bad")!= string::npos)
{
s.replace(s.find("bad"), 3, "good");
}
cout << s << endl;
}
return 0;
}
cout << "are very good."
Where is first word "You"? How should look correct code?