about | help | code help+videos | done | prefs |
Ghosts are invisible, so replace every occurrence of "ghost" with "invisible" and "Ghost" with "Invisible". The only string methods you are allowed to use are: .length, .equals, .substring, .charAt, and .compareTo oct31_2019_SLHL_invisibleGhost("xyz") → "xyz" oct31_2019_SLHL_invisibleGhost("Vampire!") → "Vampire!" oct31_2019_SLHL_invisibleGhost("Ghophers are not ghostly") → "Ghophers are not invisiblely" ...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