This program works hones your textmanipulation skills through the implementation
ID: 3613694 • Letter: T
Question
This program works hones your textmanipulation skills through the implementation of several wordgames.
Create a word manipulation programthat performs the following functions:
Now that you're done. Runyour Mom's name through the Name Game and send her acopy!
You MUST name yourproject "project7.c".
At the top of this programput the following comments:
The name game!
Shirley!
Shirley, Shirley bo Birley Bonana fanna fo Firley
Fee fy mo Mirley, Shirley!
Lincoln!
Lincoln, Lincoln bo Bincoln Bonana fanna fo Fincoln
Fee fy mo Mincoln, Lincoln!
Come on everybody!
I say now let's play a game
I betcha I can make a rhyme out of anybody's name
The first letter of the name, I treat it like it wasn't there
But a B or an F or an M will appear
And then I say bo add a B then I say the name and Bonana fanna anda
fo
And then I say the name again with an F very plain
and a fee fy and a mo
And then I say the name again with an M this time
and there isn't any name that I can't rhyme
Arnold!
Arnold, Arnold bo Barnold Bonana fanna fo Farnold
Fee fy mo Marnold Arnold!
But if the first two letters are ever the same,
I drop them both and say the name like
Bob, Bob drop the B's Bo ob
For Fred, Fred drop the F's Fo red
For Mary, Mary drop the M's Mo ary
That's the only rule that is contrary.
Okay? Now say Bo: Bo
Now Tony with a B: Bony
Then Bonana fanna fo: bonana fanna fo
Then you say the name again with an F very plain: Fony
Then a fee fy and a mo: fee fy mo
Then you say the name again with an M this time: Mony
And there isn't any name that you can't rhyme
Every body do Tony!
Pretty good, let's do Billy!
Very good, let's do Marsha!
A little trick with Nick!
The name game
Explanation / Answer
please rate - thanks #include using namespace std; int main() { string name,one="a",two="b"; int choice; for(;;) {coutRelated Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.