subject

Modify songVerse to play "The Name Game" (see OxfordDictionaries. com), by replacing "(Name)" with userName but without the first letter. Ex: If userName = "Katie" and songVerse = "Banana-fana fo-f(Name)!", the program prints:Banana-fana fo-fatie!Ex: If userName = "Katie" and songVerse = "Fee fi mo-m(Name)", the program prints:Fee fi mo-matieNote: You may assume songVerse will always contain the substring "(Name)"#include #include using namespace std;int main() {string userName;string songVerse;getline(cin, userName);userName = userName. substr(1, userName. size() - 1); // Remove first charactergetline(cin, songVerse);// Modify songVerse to replace (Name) with userName without first character/* Your solution goes here */cout << songVerse << endl;return 0;}

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 15:30
When creating a budget, log fixed expenses before income. after income. after savings. at the top.
Answers: 1
question
Computers and Technology, 23.06.2019 04:31
Q13 what function does a security certificate perform? a. creates user accounts b. scrambles data c. identifies users d. creates password policies e. provides file access
Answers: 1
question
Computers and Technology, 23.06.2019 14:00
Need ! will choose brainliest! discuss the role of abstraction in the history of computer software.
Answers: 1
question
Computers and Technology, 23.06.2019 23:00
How do you know if the website is secure if you make a purchase
Answers: 2
You know the right answer?
Modify songVerse to play "The Name Game" (see OxfordDictionaries. com), by replacing "(Name)" with u...
Questions
question
Mathematics, 05.07.2020 17:01
question
English, 05.07.2020 17:01
question
Business, 05.07.2020 17:01
question
Mathematics, 05.07.2020 17:01
question
Mathematics, 05.07.2020 17:01
question
Biology, 05.07.2020 17:01
question
Mathematics, 05.07.2020 17:01
Questions on the website: 13722363