id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

andersoniii.edwin@cusd80.com week9 > removeTheVowels
prev  |  next  |  chance

Write the method called “RemoveTheVowels". This method will remove vowels and just display all other characters.Given: I Love Java this would return lvjv We will assume the words are separated by just one space. No beginning space, BUT there will always be an ending space character. Ignore case - change every phrase to lower case. Extra challenge: Use a boolean "helper" method to test for vowels. (ie: a, e, i, o, u)


removeTheVowels("Math Is For Champions") → "mthsfrchmpns"
removeTheVowels("What a good day") → "whtgddy"
removeTheVowels("Make me happy") → "mkmhppy"

...Save, Compile, Run (ctrl-enter)

public String removeTheVowels( String phrase){ }

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Java Help

Misc Code Practice

Difficulty: 131

Copyright Nick Parlante 2017 - privacy