about | help | code help+videos | done | prefs |
The Eagles is an awesome band that has had many top hits. The started in the 70's. However, they do not like people to use the letters in the name "Eagles". Write a method that returns a new string with all the letters in "Eagles" removed, in a case-sensitive way. So remove both capital and lower-case 'e', but only remove lower-case 'a', 'g', 'l', and 's'. Otherwise the string remains unchanged. Hint: Think of how to build the new string one letter at a time. preEaglesRemoveLetters("The Eagle has landed") → "Th h ndd" preEaglesRemoveLetters("A man, a plan, a canal, panama!") → "A mn, pn, cn, pnm!" preEaglesRemoveLetters("Up in my birch I jump from low limbs.") → "Up in my birch I jump from ow imb." ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 290
Copyright Nick Parlante 2017 - privacy