Question: Can someone help me? I don't know how to do this third test Modify secondVerse to play The Name Game (a.k.a. The Banana Song, see

 Can someone help me? I don't know how to do this

Can someone help me? I don't know how to do this third test

Modify secondVerse to play "The Name Game" (a.k.a. "The Banana Song", see Wikipedia.org), by replacing "(Name)" with userName but without the first letter. Ex: if userName = "Katie", the program prints: Banana-fana fo-fatie! #include #include using namespace std; int main() {string secondVerse = "Banana-fana fo-f(Name)! string userName = "Katie"; userName.erase(userName.begin());//Removes first char from userName Your solution goes here secondVerse = secondVerse.substr(0., secondVerse.length()-7); 13 secondVerse += userName+"! cout

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!