The Name Game: Difference between revisions
Content added Content deleted
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{task}} |
{{draft task}} |
||
Write a program that accepts a name as input and outputs the lyrics to the Shirley Ellis song "The Name Game" |
Write a program that accepts a name as input and outputs the lyrics to the Shirley Ellis song "The Name Game" |
||
Revision as of 02:59, 24 March 2018
The Name Game is a draft programming task. It is not yet considered ready to be promoted as a complete task, for reasons that should be found in its talk page.
Write a program that accepts a name as input and outputs the lyrics to the Shirley Ellis song "The Name Game"
Using the name Katie as an example, the song follows this pattern:
Katie, Katie, bo-batie, Bonana-fanna fo-fatie Fee fi mo-matie Katie!
A verse can be created for any name, with X as the name and Y as the name without the first consonant sound (if it begins with a consonant), as follows:
(X), (X), bo-b (Y) Bonana-fanna fo-f (Y) Fee fi mo-m (Y) (X)!
And if the name starts with a b, f, or m, that sound simply is not repeated. For example: Billy becomes "Billy Billy bo-illy"; Fred becomes "bonana fanna fo-red"; Marsha becomes "fee fi mo-arsha"