Question: Coded in Java- The Name Game Name Game Special Rules: Single Consonant (remove first letter): Sarah, Sarah, Bo-barah Bo-na-na fanna Fo-farah Fee fi Mo-marah, Sarah!

Coded in Java- "The Name Game"

Name Game Special Rules:

Single Consonant (remove first letter): Sarah, Sarah, Bo-barah Bo-na-na fanna Fo-farah Fee fi Mo-marah, Sarah!

Single Vowel (name as is, no letters removed): Anna, Anna, Bo-banna Bo-na-na fanna Fo-fanna Fee fi Mo-manna, Anna!

Double Consonant (remove first two letters): Thomas, Thomas, Bo-bomas Bo-na-na fanna Fo-fomas Fee fi Mo-momas, Thomas!

Double Vowel (remove first letter): Aaron, Aaron, Bo-baron Bo-na-na fanna Fo-faron Fee fi Mo-maron, Aaron!

B as the first letter (repeat for F and M in correct spots): Bob, Bob, Bo-ob Bo-na-na fanna Fo-fob Fee fi Mo-mob, Bob!

F as the first letter: Felix, Felix, Bo-belix Bo-na-na fanna Fo-elix Fee fi Mo-melix, Felix!

M as the first letter: Mary, Mary, Bo-bary Bo-na-na fanna Fo-fary Fee fi Mo-ary, Mary!

Remember to account for names such as: Mitch, Tucker, Tuck, Stitch, etc (Think about how you can use the String .contains() function)

Make sure you have: Welcome statement Ask for name Special comment if that is your name Song verse with all special cases accounted for Thanks for playing message

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!