about | help | code help+videos | done | prefs |
RemovingOs Write the method to receive a String (str) and remove all of the "O" characters. Do this for both Upper case and Lower case "O's" If the string is empty then return an empty string. Do not change the word's case. (If lower case - keep lower case - If Upper Case - Keep Upper Case) Example Jovo becomes JV removingOs("Jovo") → "Jv" removingOs("JellO") → "Jell" removingOs("window") → "windw" ...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: 103
Copyright Nick Parlante 2017 - privacy