about | help | code help+videos | done | prefs |
Your goal is to write a method that accepts a string as an input parameter, then returns a new string where every occurance of 'au' or 'Au' has been replaced with 'golden' or 'Golden' respectivly. The input parameter will have at least one character in it. goldenWords("auauauau") → "goldengoldengoldengolden" goldenWords("xAu au Aux") → "xGolden golden Goldenx" goldenWords("x") → "x" ...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