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 10:30
You have a large, late-model pick-up truck with a rear seat. the pick-up truck weighs 6,500 pounds. the florida seat belt law
Answers: 1
question
Computers and Technology, 23.06.2019 04:31
Type the correct answer in the box. spell all words correctly. the managing director of a company sends a christmas greeting to all his employees through the company email. which type of network does he use? he uses an
Answers: 1
question
Computers and Technology, 23.06.2019 08:30
All of these are true about using adhesive except: a. dissimilar materials can be joined. b. mixing tips are product and material specific. c. a specific application gun may be required. d. two-part adhesives are dispensed using two mixing tips
Answers: 3
question
Computers and Technology, 24.06.2019 18:50
Which style did jack use on the vocabulary words in reports?
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, 30.04.2021 16:30
question
Mathematics, 30.04.2021 16:30
question
Mathematics, 30.04.2021 16:30
Questions on the website: 13722362